-
Notifications
You must be signed in to change notification settings - Fork 25.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: Gradio progressbar and Cancel button vanishes when pressing "Generate" #7128
Comments
Nah it's still broken in the same way except the progress bar is also broken now. gradio 3.9 is still the only one that's not broken with colabs. |
Thanks for your comment, you made me curious to test something and I found the cause. For people who use:
This must be removed from launch options. I used this Colab notebook here, tested a load of stuff, and finally pinned it down to this. So fortunately this is not a Automatic1111 issue for once. If anyone finds this through Google and this doesn't work for you, please leave comments! |
No way... IT WORKS@Testertime I kneel. Thank you!!! |
I would rename and re-open this issue, BTW!!! Something like "Using @AUTOMATIC1111 ... |
This works, but doesn't seem to work for Hires.fix batch count 2 or more |
Is there an existing issue for this?
What happened?
Upon clicking "Generate", an empty progressbar shows for a splitsecond and vanishes again. This applies to the "Cancel" and "Skip" button as well. There is no progress status update, and one has to look at the console in order to see the progress. However, the generated results still appear once it is done, it just happens "out of nowhere" when not looking at the console.
I like to mention as well that this issue used to be worse, 1 - 2 weeks ago the web UI became unresponsive randomly (e.g. "Generate" button no longer worked, but everything else did). This is now improved, but the progressbar and cancel button behavior is broken. This applies to the livepreview as well, it does not work due to this issue.
As I'm accessing the web UI through a Google Colab iPython instance and Gradio's
--share
, I suspect something with implementation is weird. However, accessing through Cloudflared, ngrok and--listen
gives the same result.It's also worth mentioning that I have not been able to reproduce this issue locally on my Windows machine. I would suspect something with Gradio and Linux.
Here is also a GIF showcasing this:
(notice as well how the tooltip text mentions "Stop processing" despite that it hasn't even started yet!)
Steps to reproduce the problem
What should have happened?
The progressbar and "cancel / skip" buttons should not vanish, they should remain there and show the user the progress. Due to this issue, it does no longer work to cancel image generations, which is an issue when wanting to cancel image batches.
Commit where the problem happens
865af20 (but has been a problem for a week now)
What platforms do you use to access UI ?
Windows, Linux
What browsers do you use to access the UI ?
Mozilla Firefox, Google Chrome
Command Line Arguments
Additional information, context and logs
What I could exclude is that the issue is not due to the Python version on Google Colab, as I switched out the Python from 3.8 to 3.10 and it was the same. What else I tried:
11d432d
). As that state seems to use older Gradio features, I suspect something is up there.Consuming a byte in the end state
The text was updated successfully, but these errors were encountered: