Generate button freezes have to restart gradio app and log in again
Describe the bug generate button freezes on interrupt, settings menu also hangs on loading
To Reproduce Steps to reproduce the behavior:
- Load up gradio app in voldemort collab
- Log in to Gradio app
- Enter prompt and generate
- Notice when its finished that the button doesnt change from interrupt/skip
Screenshots If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
- windows 10
- chrome
- Commit revision c1093b8051606f0ac90506b7114c4b55d0447c70
Additional context Voldemort v.12 collab
Can confirm, started a few commits back, it might have something to do with the Prompt still being Tokenized while you pressed Generate (not sure tho but that's one way how it almost always ends up frozen like this). But yeah settings reload only after several refreshes for me
Something that i have noticed about this bug is that sometimes when it freezes (not always, although most of the time) i check the console in the google collab and i notice that the thing is constantly generating 34 or 40 step images with no output and then it stops after an inderterminate ammount of "generations" (last time it was 150 despite just wanting it to generate 3) and after that the gradio app seems to update and let you generate again. but it falls back to that infinite "fake generation" loop again.
It is also strange that those 150 unwanted generations do not only have no outputs into the app but they are also much faster (not by a lot) than real normal generations with outputs so yhea. not great
issue 2889 mentions the same problem. i have it as well. it seems to be related to shareable gradio links timing out at some point when using the --share option in webui-user.bat. (therefore it's an issue with gradio servers)
in the meantime, use localtunnel, it should work since it routes the local webui instance to a separate server than gradio.app
(therefore it's an issue with gradio servers) in local mode, works fine without freezes
issue 2889 mentions the same problem. i have it as well. it seems to be related to shareable gradio links timing out at some point when using the
--shareoption inwebui-user.bat. (therefore it's an issue with gradio servers)in the meantime, use localtunnel, it should work since it routes the local webui instance to a separate server than gradio.app
How does one do that? What commands are needed? Thanks
How does one do that? What commands are needed? Thanks
There is a small tick box in the google collab version that allows you to use localtunnel, its much more stable. it does have its hiccups every now and then and needs a reset but its far less often than gradio
https://github.com/gradio-app/gradio/issues/2260 Fixed by gradio team