Gradio spaces app error
Hi, our gradio app is working locally but not when deployed on spaces. We got a Gradio error instead of regulard output.The log files of the app looks ok as the last logger info message is the last one from the application perspective.Any tips to troubleshoot further what could be the error ?The spaces is the following:huggingface.coSurfrider - a Hugging Face Space by SurfriderDiscover amazing ML apps made by the communityI appreciate your feedbacks.
2022-03-11T21:06:48Z
Hi!Gradiolaunchhas a parameterenable_queuewhich is False by default. When the inference time is over a minute, it will timeout which is what I think is going on with this Space. You can set it toTrue.You can find more atgradio.appGradio DocsBrowse Gradio Documentation and Examples
2022-03-12T11:22:15Z
Hiosanseviero, thanks for your feedback. I updated the launch code as you said but still get the time out.I can however successfully run the app when using shorter video that allows inference time to be less than 1 minute.Any idea why launch(debug=True,enable_queue=True) looks not to apply ?I appreciate your feedback.
2022-03-13T08:44:27Z
Looks to be working now. Maybe the option took some time to propagate.Thanks for the heads up!
2023-01-04T04:15:53Z
Hi,@clementlr, I had the same issue when I run my app on huggingface spaces. Have you figure it out?I also can not use debugging function on spaces.Thank you.
2023-01-04T15:37:40Z
Youfeng:I also can not use debugging function on spaces.Hi@Youfeng! Which space is erroring out for you?
2023-01-05T00:58:13Z
Hi,@freddyaboulton, Thanks for you response. I have test my app locally, which works fine. However, it appear ‘error’ in the output text area, it didn’t show any further information (I have setdebug=True). I used selenium package as a dependency package for this application. I was wondering if this is an issue. Thanks.
2023-08-18T11:23:14Z
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.1Python 3.9.16Any help please?