Gradio spaces app error

Chintan-Donda
Fri, 18 Aug 2023 11:23:14 +0000

Same issue. For me, it shows Error on the Gradio front-end. However, it works well in the backend - meaning, I can see the response (via logging) in the backend, but Gradio shows Error may be because of the timeout.

I’m building a chatbot where I’m streaming the response using demo.queue().

demo.queue(
        concurrency_count=5, status_update_rate=30, api_open=False
    ).launch(
        share=True,
        max_threads=5
    )

My env:
Gradio v3.40.1
Python 3.9.16

Any help please?