stable-diffusion-webui icon indicating copy to clipboard operation
stable-diffusion-webui copied to clipboard

Sometimes the GUI get's in a mode where it thinks the backend is still generating but it isnt. Because the generate button is hidden at that time are forced to reload the page to continue working.

Open somenewaccountthen opened this issue 3 years ago • 3 comments

Describe the bug Sometimes the GUI gets in a mode where it thinks the back-end is still generating but it isn't. If you go to another tab the generate there works. But he button on the other tab stays in mode 'Interrupt' forever. But on the tab where it went wrong you are stuck because 'Generate' is not visible. At that time the state for the Generate/Interrupt button are no longer representative of the state of the back-end.

To Reproduce I don't know how to reproduce. I think it has something to do with interrupting and pressing shift-enter too often during generation.. not been able to pin it down yet.

Expected behavior Don't hide the generate button so when ever it ends up in a limbo state you can just click generate.

Desktop (please complete the following information):

  • OS: Linux
  • Browser Firefox
  • Commit revision f894dd552f68bea27476f1f360ab8e79f3a65b4f

somenewaccountthen avatar Oct 19 '22 13:10 somenewaccountthen

Crazy, I have the same problem and summitted Issue minute by minute with you. I was suggesting UI reload button, but I like your solution too, it's sounds easier to implement

GitHub-MellowYellow avatar Oct 19 '22 13:10 GitHub-MellowYellow

I've had that same problem in a lot of situations. Granted, most of those situations were due to some other issue, but having a UI reload button and/or not hiding the Generate button would make it easier to continue working when an issue occurs. Having to open the site in a new tab and copy/paste the prompts over is a bit tedious

kotobdev avatar Oct 19 '22 15:10 kotobdev

There is another issue this would fix as well. If you have multiple tabs open, hitting Generate in one tab sometimes causes the other tabs to think they are generating and also change their UI, even though they are not actually generating, despite it behaving completely reasonably when it doesn't change in error (it adds the request to the queue and updates correctly when it is finished).

Even more confusing is that if the UI happens to switch back to Generate while it is still generating, hitting Generate does what you'd expect (the current run finishes, the UI updates and then another generation is started). There doesn't seem to be any reason to disable/hide the Generate button. Maybe only change its colour to indicate it isn't expected to be used?

Xyem avatar Oct 19 '22 16:10 Xyem

Closing as stale.

catboxanon avatar Aug 03 '23 16:08 catboxanon