# "ERROR: NO API FOUND" In Roop-Unleashed model

**URL:** <https://discuss.huggingface.co/t/error-no-api-found-in-roop-unleashed-model/151826>\
**Category:** Beginners\
**Created:** [April 22, 2025, 3:35pm UTC](https://discuss.huggingface.co/t/error-no-api-found-in-roop-unleashed-model/151826 "2025-04-22T15:35:05Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![John6666](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/john6666/32/27664_2.png) [@John6666](https://discuss.huggingface.co/u/John6666)\
**Post date:** [April 23, 2025, 2:32am UTC](https://discuss.huggingface.co/t/error-no-api-found-in-roop-unleashed-model/151826/2 "2025-04-23T02:32:13Z")

</div>

This case has been occurring frequently recently, but if there is another cause, debugging will be necessary again.

> [@Error : No API Found](https://discuss.huggingface.co/t/error-no-api-found/146226):
>
> Hi, I have built a Gemini 2.0 flash based photo editing app with gradio ui. This app is running perfectly fine on my local system, but when I am trying to run it on spaces it is giving me Error : No API Found. I have used gemini api keys in secrects Code : [https://huggingface.co/spaces/Saurabh502/Gemini-photo/resolve/main/app.py](https://huggingface.co/spaces/Saurabh502/Gemini-photo/resolve/main/app.py) Please let me know your thoughts, on how to resolve this. Thanks

### Quick workaround

```auto
pydantic==2.10.6

```

---

_[View the full topic](https://discuss.huggingface.co/t/error-no-api-found-in-roop-unleashed-model/151826)._
