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

Generate button stopped working after generating one image

Open gateeeeee opened this issue 2 years ago • 7 comments

For the auto1111 notebook, after generating one image, the generate button stopped working.

The problem persists after the "attempt to fix Gradio freeze" fix.

Edit: I did a refresh and now it worked. Let me experiment further.

gateeeeee avatar Dec 11 '22 05:12 gateeeeee

Same issue, have to refresh everytime after generating one set of images

zzaisd avatar Dec 11 '22 06:12 zzaisd

Seems to be working fine except when using the X/Y plot. No image preview and the generation button stopped working after the first batch.

gateeeeee avatar Dec 11 '22 07:12 gateeeeee

Same problem, no image preview if you do multiple generations, then it stuck, you have to restart the UI. But if you only generate 1 image, preview shows, and you can do next round.

rokey-z avatar Dec 11 '22 08:12 rokey-z

I'm looking for a solution

TheLastBen avatar Dec 11 '22 08:12 TheLastBen

Use the gradio server, worked for me

createperhaps avatar Dec 11 '22 12:12 createperhaps

I have the same problem, but only if the image generated is too big, like a x/y grid, the thumbnail doesn't show and the generate button doesn't work, not even the shortcut Ctrl + Enter, I have to refresh to make it work again.

Looks like it can't handle the big image, or it's some racing condition, the big image takes too long to process and it stucks, maybe the output folder been inside gdrive is making it happens here but not in other environments, because it is slower with the mounting point.

jn-jairo avatar Dec 11 '22 19:12 jn-jairo

Use the gradio server, worked for me

Gradio indeed works fine!

BrokedTV avatar Dec 12 '22 11:12 BrokedTV

Gradio is better but when you leave the browser window say to go to another tab like colab while you're rendering and you come back, either the generate button or the previews/progress don't load/update.

I'm running a model I trained based on SD 2.1 768 typically with these settings Steps: 80, Sampler: Euler a, CFG scale: 10, Size: 768x768, Model hash: 1b51225c, Batch size: 4

Would love a solution to this as pressing reload is a pain as I have to reenter all the parameters

I've tried playing arounds with the 1111 settings (such as preview etc) but can't seem to find the root cause.

juan9999 avatar Dec 13 '22 06:12 juan9999

I have the same problem, but only if the image generated is too big, like a x/y grid, the thumbnail doesn't show and the generate button doesn't work, not even the shortcut Ctrl + Enter, I have to refresh to make it work again.

Looks like it can't handle the big image, or it's some racing condition, the big image takes too long to process and it stucks, maybe the output folder been inside gdrive is making it happens here but not in other environments, because it is slower with the mounting point.

I find that to be the case. When I generate a 1024x1024 it works fine. But whenever a 1408x1024, the preview pic doesn't load and the generate button stops working. Same with generating a X/Y grid with high res.

Gradio server also has problems like the ones juan9999 mentioned above.

gateeeeee avatar Dec 13 '22 10:12 gateeeeee

I set the default to gradio server, and changed few settings with gradio queue, you shouldn't face this issue anymore, use the updated colab

TheLastBen avatar Dec 13 '22 10:12 TheLastBen

I set the default to gradio server, and changed few settings with gradio queue, you shouldn't face this issue anymore, use the updated colab

Just tested a bit, the problems are gone. Thanks :)

gateeeeee avatar Dec 13 '22 11:12 gateeeeee

Am I the only one that has problems using the Gradio server? The ui always freezes when I use it. It was always like this.

Ktr4ks avatar Dec 13 '22 12:12 Ktr4ks

update to the latest colab by clicking on the thumbnails on the main page of the repo

TheLastBen avatar Dec 13 '22 13:12 TheLastBen

Well..I tested for a few more hours, the "gradio server freeze" problem mentioned by juan9999 actually still exists. The UI would sometimes stuck on: 022-12-13 213949

The image will generate, and the generate button works afterwards. But the UI stucks like this forever (with generate button still clickable and functional) unless page refreshed. This problem has been there since very early if I recall. And I'm using the latest notebook.

gateeeeee avatar Dec 13 '22 13:12 gateeeeee

update to the latest colab by clicking on the thumbnails on the main page of the repo

Already on the latest version. Also, the problem only seems to occur with txt2img, I'm having no problems with img2img. Edit: Nevermind, it just happened with img2img.

Ktr4ks avatar Dec 13 '22 14:12 Ktr4ks

@gateeeeee maybe the button freezes but it's still functional, that's why I dragged it below the two white buttons in the first place.

TheLastBen avatar Dec 13 '22 14:12 TheLastBen