I tried to use the KingNish/OpenGPT-4o model, but for some reason an error appears!
code:
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:
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!