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

[Bug]: using png info during generation stops showing previews, cannot be interrupted

Open SeeGeeArtist opened this issue 2 years ago • 4 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues and checked the recent builds/commits

What happened?

If I get png info (sometimes) while generating, the ui will stop showing previews and the orange "generate" button will show during generation. Sometimes I can get png info and the ui keeps chugging along just fine. Sometimes my display will sleep and then when I come back to wake it up, here we are again with no previews and an orange "generate" button, meanwhile the console is working just fine. It's almost like the ui uncouples from sd and never has any kind of refresh connection function or something.

Steps to reproduce the problem

  1. Start generating something.
  2. Drag an image into png info, or let your display go to sleep.
  3. Fumble around in confusion while the ui completely forgets that it was generating something.

What should have happened?

I should have been able to get png info or have my display go to sleep and then the txt2img tab would still be showing previews and the progress bar, and also the "interrupt" and "skip" buttons would be visible.

Commit where the problem happens

685f9631b56ff8bd43bce24ff5ce0f9a0e9af490

What platforms do you use to access UI ?

Windows

What browsers do you use to access the UI ?

Google Chrome

Command Line Arguments

--lowvram --no-half-vae

Additional information, context and logs

No error messages or any indication that the ui recognizes something is wrong.

SeeGeeArtist avatar Dec 21 '22 20:12 SeeGeeArtist

I have encountered the same issue myself - using the PNG Info tab stopping the periodic UI updates from happening during generation. I have seen this happen using the Web UI in a couple other ways too but don't recall the details. A nice to have would be a button (in the Settings tab page?) that could reestablish the UI updates if that's possible.

jhogsett avatar Dec 21 '22 20:12 jhogsett

Indeed doing png info while a batch is running, the txt2img tab reverts back to the 'Generate' button while the batch continues in the background. So its impossible to interrupt it without closing down the app. Edit: changing settings also loses the status in the txt2img screen.

wardboumans avatar Dec 22 '22 19:12 wardboumans

I'm guessing that this is just a gradio thing, then?

SeeGeeArtist avatar Jan 04 '23 21:01 SeeGeeArtist

~~https://github.com/AUTOMATIC1111/stable-diffusion-webui/issues/846~~ oops, slightly different, that's for browser tabs

mezotaken avatar Jan 16 '23 17:01 mezotaken

that's the one https://github.com/AUTOMATIC1111/stable-diffusion-webui/issues/936

mezotaken avatar Jan 16 '23 18:01 mezotaken