-
Notifications
You must be signed in to change notification settings - Fork 2.8k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Stuck in processing forever when using queue() #5974
Comments
Is this using the latest version of |
we use the gradio version |
Could you try upgrading to 3.49? |
Sure, I will try now. |
@abidlabs However, when we try to upgrade gradio version to 3.49.0, we encounter Pandas dependency problem that |
What version of pandas do you have installed? I have 1.5.2 and everything is working for me. |
Seems like updating gradio solves the problem, so I'm closing the issue for now, thanks~ |
Describe the bug
I have a demo that segments an image with a large model, and for some reason, I have to run it on CPU, making the generation lasts > 60s.
I know I need to use .queue() to keep the connection alive in this situation. But, after enabling the queue, the progress bar is stuck in "processing" forever, even after my function already returns the generated image (as shown in the image below).
Can anyone help me fix the problem I encountered, thanks!
Have you searched existing issues? 🔎
Reproduction
My code is as below, I use fastapi to serve the demo:
Screenshot
As can be seen from the container log above, for some reason the reset API is invoked immediately after 60s despite that the queue is enabled.
Logs
No response
System Info
Severity
Blocking usage of gradio
The text was updated successfully, but these errors were encountered: