# Error when using the KingNish/OpenGPT-4o API

**URL:** <https://discuss.huggingface.co/t/error-when-using-the-kingnish-opengpt-4o-api/100556>\
**Category:** Spaces\
**Created:** [August 2, 2024, 9:13am UTC](https://discuss.huggingface.co/t/error-when-using-the-kingnish-opengpt-4o-api/100556 "2024-08-02T09:13:48Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![EggZys](https://avatars.discourse-cdn.com/v4/letter/e/3e96dc/32.png) [@EggZys](https://discuss.huggingface.co/u/EggZys)\
**Post date:** [August 2, 2024, 9:13am UTC](https://discuss.huggingface.co/t/error-when-using-the-kingnish-opengpt-4o-api/100556/1 "2024-08-02T09:13:48Z")

</div>

I tried to use the KingNish/OpenGPT-4o model, but for some reason an error appears!  
code:

```auto
from gradio_client import Client

request=str('Введите запрос: ')

client = Client("KingNish/OpenGPT-4o")
result = client.predict(
		user_prompt={"text":request,"files":[]},
		api_name="/chat"
)
print(result)

```

Error:

```auto
gradio_client.exceptions.AppError: The upstream Gradio app has raised an exception but has not enabled verbose error reporting. To enable, set show_error=True in launch().

```

I do not know how to enable error display! I will be glad if you help! Thanks!
