stable-diffusion-webui
stable-diffusion-webui copied to clipboard
[Bug]: After executing the prompt, the images disappear from the browser
Is there an existing issue for this?
- [X] I have searched the existing issues and checked the recent builds/commits
What happened?
the images do not appear, and when they appear it shows only one image, every time it locks in an image and does not change anymore

Steps to reproduce the problem
- Go to ....
- Press ....
- ...
What should have happened?
The normal thing is to load the images, and 4 images appear if requested at the prompt
Commit where the problem happens
After executing the prompt, the images disappear from the browser
What platforms do you use to access the UI ?
Windows
What browsers do you use to access the UI ?
Brave
Command Line Arguments
@echo off
if not exist python (echo Unpacking Git and Python... & mkdir tmp & start /wait git_python.part01.exe & del git_python.part01.exe & del git_python.part*.rar)
set pypath=home = %~dp0python
if exist venv (powershell -command "$text = (gc venv\pyvenv.cfg) -replace 'home = .*', $env:pypath; $Utf8NoBomEncoding = New-Object System.Text.UTF8Encoding($False);[System.IO.File]::WriteAllLines('venv\pyvenv.cfg', $text, $Utf8NoBomEncoding);")
if exist webui-user-first-run.cmd (ren requirements_versions.txt requirements_versions2.txt & ren requirements_versions1.txt requirements_versions.txt & del webui-user-first-run.cmd) else (if exist requirements_versions2.txt (del requirements_versions.txt & ren requirements_versions2.txt requirements_versions.txt))
set APPDATA=tmp
set USERPROFILE=tmp
set TEMP=tmp
set PYTHON=python\python.exe
set GIT=git\cmd\git.exe
set PATH=git\cmd
set VENV_DIR=venv
set COMMANDLINE_ARGS=--xformers --autolaunch
git pull origin master
call webui.bat
List of extensions
Dreambooth / Deforum
Console logs
ConnectionResetError: [WinError 10054] Foi forçado o cancelamento de uma conexão existente pelo host remoto
100%|██████████████████████████████████████████████████████████████████████████████████| 20/20 [00:02<00:00, 7.96it/s]
{"prompt": "big dog", "all_prompts": ["big dog"], "negative_prompt": "(deformed, distorted, disfigured:1.3), poorly drawn, bad anatomy, wrong anatomy, extra limb, missing limb, floating limbs, (mutated hands and fingers:1.4), disconnected limbs, mutation, mutated, ugly, disgusting, blurry, amputation", "all_negative_prompts": ["(deformed, distorted, disfigured:1.3), poorly drawn, bad anatomy, wrong anatomy, extra limb, missing limb, floating limbs, (mutated hands and fingers:1.4), disconnected limbs, mutation, mutated, ugly, disgusting, blurry, amputation"], "seed": 3172528194, "all_seeds": [3172528194], "subseed": 3166300892, "all_subseeds": [3166300892], "subseed_strength": 0, "width": 512, "height": 512, "sampler_name": "Euler a", "cfg_scale": 8, "steps": 20, "batch_size": 1, "restore_faces": true, "face_restoration_model": "CodeFormer", "sd_model_hash": "370234eabb", "seed_resize_from_w": 0, "seed_resize_from_h": 0, "denoising_strength": null, "extra_generation_params": {}, "index_of_first_image": 0, "infotexts": ["big dog\nNegative prompt: (deformed, distorted, disfigured:1.3), poorly drawn, bad anatomy, wrong anatomy, extra limb, missing limb, floating limbs, (mutated hands and fingers:1.4), disconnected limbs, mutation, mutated, ugly, disgusting, blurry, amputation\nSteps: 20, Sampler: Euler a, CFG scale: 8, Seed: 3172528194, Face restoration: CodeFormer, Size: 512x512, Model hash: 370234eabb, Clip skip: 4"], "styles": [], "job_timestamp": "20230328103054", "clip_skip": 4, "is_using_inpainting_conditioning": false}
100%|██████████████████████████████████████████████████████████████████████████████████| 20/20 [00:02<00:00, 7.45it/s]
100%|██████████████████████████████████████████████████████████████████████████████████| 20/20 [00:02<00:00, 8.11it/s]
100%|██████████████████████████████████████████████████████████████████████████████████| 20/20 [00:02<00:00, 7.67it/s]
100%|██████████████████████████████████████████████████████████████████████████████████| 20/20 [00:02<00:00, 8.00it/s]
100%|██████████████████████████████████████████████████████████████████████████████████| 20/20 [00:02<00:00, 7.81it/s]
{"prompt": "big dog", "all_prompts": ["big dog", "big dog", "big dog", "big dog", "big dog"], "negative_prompt": "(deformed, distorted, disfigured:1.3), poorly drawn, bad anatomy, wrong anatomy, extra limb, missing limb, floating limbs, (mutated hands and fingers:1.4), disconnected limbs, mutation, mutated, ugly, disgusting, blurry, amputation", "all_negative_prompts": ["(deformed, distorted, disfigured:1.3), poorly drawn, bad anatomy, wrong anatomy, extra limb, missing limb, floating limbs, (mutated hands and fingers:1.4), disconnected limbs, mutation, mutated, ugly, disgusting, blurry, amputation", "(deformed, distorted, disfigured:1.3), poorly drawn, bad anatomy, wrong anatomy, extra limb, missing limb, floating limbs, (mutated hands and fingers:1.4), disconnected limbs, mutation, mutated, ugly, disgusting, blurry, amputation", "(deformed, distorted, disfigured:1.3), poorly drawn, bad anatomy, wrong anatomy, extra limb, missing limb, floating limbs, (mutated hands and fingers:1.4), disconnected limbs, mutation, mutated, ugly, disgusting, blurry, amputation", "(deformed, distorted, disfigured:1.3), poorly drawn, bad anatomy, wrong anatomy, extra limb, missing limb, floating limbs, (mutated hands and fingers:1.4), disconnected limbs, mutation, mutated, ugly, disgusting, blurry, amputation", "(deformed, distorted, disfigured:1.3), poorly drawn, bad anatomy, wrong anatomy, extra limb, missing limb, floating limbs, (mutated hands and fingers:1.4), disconnected limbs, mutation, mutated, ugly, disgusting, blurry, amputation"], "seed": 1203410253, "all_seeds": [1203410253, 1203410254, 1203410255, 1203410256, 1203410257], "subseed": 702776941, "all_subseeds": [702776941, 702776942, 702776943, 702776944, 702776945], "subseed_strength": 0, "width": 512, "height": 512, "sampler_name": "Euler a", "cfg_scale": 8, "steps": 20, "batch_size": 1, "restore_faces": true, "face_restoration_model": "CodeFormer", "sd_model_hash": "370234eabb", "seed_resize_from_w": 0, "seed_resize_from_h": 0, "denoising_strength": null, "extra_generation_params": {}, "index_of_first_image": 1, "infotexts": ["big dog\nNegative prompt: (deformed, distorted, disfigured:1.3), poorly drawn, bad anatomy, wrong anatomy, extra limb, missing limb, floating limbs, (mutated hands and fingers:1.4), disconnected limbs, mutation, mutated, ugly, disgusting, blurry, amputation\nSteps: 20, Sampler: Euler a, CFG scale: 8, Seed: 1203410253, Face restoration: CodeFormer, Size: 512x512, Model hash: 370234eabb, Clip skip: 4", "big dog\nNegative prompt: (deformed, distorted, disfigured:1.3), poorly drawn, bad anatomy, wrong anatomy, extra limb, missing limb, floating limbs, (mutated hands and fingers:1.4), disconnected limbs, mutation, mutated, ugly, disgusting, blurry, amputation\nSteps: 20, Sampler: Euler a, CFG scale: 8, Seed: 1203410253, Face restoration: CodeFormer, Size: 512x512, Model hash: 370234eabb, Clip skip: 4", "big dog\nNegative prompt: (deformed, distorted, disfigured:1.3), poorly drawn, bad anatomy, wrong anatomy, extra limb, missing limb, floating limbs, (mutated hands and fingers:1.4), disconnected limbs, mutation, mutated, ugly, disgusting, blurry, amputation\nSteps: 20, Sampler: Euler a, CFG scale: 8, Seed: 1203410254, Face restoration: CodeFormer, Size: 512x512, Model hash: 370234eabb, Clip skip: 4", "big dog\nNegative prompt: (deformed, distorted, disfigured:1.3), poorly drawn, bad anatomy, wrong anatomy, extra limb, missing limb, floating limbs, (mutated hands and fingers:1.4), disconnected limbs, mutation, mutated, ugly, disgusting, blurry, amputation\nSteps: 20, Sampler: Euler a, CFG scale: 8, Seed: 1203410255, Face restoration: CodeFormer, Size: 512x512, Model hash: 370234eabb, Clip skip: 4", "big dog\nNegative prompt: (deformed, distorted, disfigured:1.3), poorly drawn, bad anatomy, wrong anatomy, extra limb, missing limb, floating limbs, (mutated hands and fingers:1.4), disconnected limbs, mutation, mutated, ugly, disgusting, blurry, amputation\nSteps: 20, Sampler: Euler a, CFG scale: 8, Seed: 1203410256, Face restoration: CodeFormer, Size: 512x512, Model hash: 370234eabb, Clip skip: 4", "big dog\nNegative prompt: (deformed, distorted, disfigured:1.3), poorly drawn, bad anatomy, wrong anatomy, extra limb, missing limb, floating limbs, (mutated hands and fingers:1.4), disconnected limbs, mutation, mutated, ugly, disgusting, blurry, amputation\nSteps: 20, Sampler: Euler a, CFG scale: 8, Seed: 1203410257, Face restoration: CodeFormer, Size: 512x512, Model hash: 370234eabb, Clip skip: 4"], "styles": [], "job_timestamp": "20230328103100", "clip_skip": 4, "is_using_inpainting_conditioning": false}
100%|██████████████████████████████████████████████████████████████████████████████████| 20/20 [00:02<00:00, 7.63it/s]
100%|██████████████████████████████████████████████████████████████████████████████████| 20/20 [00:03<00:00, 6.48it/s]
100%|██████████████████████████████████████████████████████████████████████████████████| 20/20 [00:02<00:00, 7.99it/s]
{"prompt": "dog", "all_prompts": ["dog", "dog", "dog"], "negative_prompt": "(deformed, distorted, disfigured:1.3), poorly drawn, bad anatomy, wrong anatomy, extra limb, missing limb, floating limbs, (mutated hands and fingers:1.4), disconnected limbs, mutation, mutated, ugly, disgusting, blurry, amputation", "all_negative_prompts": ["(deformed, distorted, disfigured:1.3), poorly drawn, bad anatomy, wrong anatomy, extra limb, missing limb, floating limbs, (mutated hands and fingers:1.4), disconnected limbs, mutation, mutated, ugly, disgusting, blurry, amputation", "(deformed, distorted, disfigured:1.3), poorly drawn, bad anatomy, wrong anatomy, extra limb, missing limb, floating limbs, (mutated hands and fingers:1.4), disconnected limbs, mutation, mutated, ugly, disgusting, blurry, amputation", "(deformed, distorted, disfigured:1.3), poorly drawn, bad anatomy, wrong anatomy, extra limb, missing limb, floating limbs, (mutated hands and fingers:1.4), disconnected limbs, mutation, mutated, ugly, disgusting, blurry, amputation"], "seed": 4008141600, "all_seeds": [4008141600, 4008141601, 4008141602], "subseed": 2262580429, "all_subseeds": [2262580429, 2262580430, 2262580431], "subseed_strength": 0, "width": 512, "height": 512, "sampler_name": "Euler a", "cfg_scale": 8, "steps": 20, "batch_size": 1, "restore_faces": false, "face_restoration_model": null, "sd_model_hash": "370234eabb", "seed_resize_from_w": 0, "seed_resize_from_h": 0, "denoising_strength": null, "extra_generation_params": {}, "index_of_first_image": 1, "infotexts": ["dog\nNegative prompt: (deformed, distorted, disfigured:1.3), poorly drawn, bad anatomy, wrong anatomy, extra limb, missing limb, floating limbs, (mutated hands and fingers:1.4), disconnected limbs, mutation, mutated, ugly, disgusting, blurry, amputation\nSteps: 20, Sampler: Euler a, CFG scale: 8, Seed: 4008141600, Size: 512x512, Model hash: 370234eabb, Clip skip: 4", "dog\nNegative prompt: (deformed, distorted, disfigured:1.3), poorly drawn, bad anatomy, wrong anatomy, extra limb, missing limb, floating limbs, (mutated hands and fingers:1.4), disconnected limbs, mutation, mutated, ugly, disgusting, blurry, amputation\nSteps: 20, Sampler: Euler a, CFG scale: 8, Seed: 4008141600, Size: 512x512, Model hash: 370234eabb, Clip skip: 4", "dog\nNegative prompt: (deformed, distorted, disfigured:1.3), poorly drawn, bad anatomy, wrong anatomy, extra limb, missing limb, floating limbs, (mutated hands and fingers:1.4), disconnected limbs, mutation, mutated, ugly, disgusting, blurry, amputation\nSteps: 20, Sampler: Euler a, CFG scale: 8, Seed: 4008141601, Size: 512x512, Model hash: 370234eabb, Clip skip: 4", "dog\nNegative prompt: (deformed, distorted, disfigured:1.3), poorly drawn, bad anatomy, wrong anatomy, extra limb, missing limb, floating limbs, (mutated hands and fingers:1.4), disconnected limbs, mutation, mutated, ugly, disgusting, blurry, amputation\nSteps: 20, Sampler: Euler a, CFG scale: 8, Seed: 4008141602, Size: 512x512, Model hash: 370234eabb, Clip skip: 4"], "styles": [], "job_timestamp": "20230328103140", "clip_skip": 4, "is_using_inpainting_conditioning": false}
Additional information
No response
Here this is happened too
I managed to solve by reinstalling Stable Diffusion, after I installed the extensions I use and tested the operation, I saved the Stable Diffusion folder on my HD, I think the error happened because I had several other plugins that I installed and uninstalled, maybe generated some conflict
Same problem here, I tried to reinstalling all again but nothing seems to work
Same problem here, I tried to reinstalling all again but nothing seems to work
Yes, here too
same problem.
+1
+1 same started happening few hours ago on windows 10 with google/firefox
same problem
+1
+1
It happens to me, too. After I install extensions. I tried deleting them all but nothing changed.
but i can get result below 5 sampling steps, any idea?
but i can get result below 5 sampling steps, any idea?
i think its timeout,i also got error when i changed checkpoint,then i press refreshbutton beside the checkpoint selector its fine, maybe webui hangup and the asynchronous timeout setting is too short, or program can not callback correctly after finnish?
sorry,my english is poor
happens to me as well
+1
me too
me too
me too
Has anyone found a solution? This bug is so annoying
I update all the dependency library of gradio to the latest version, the problem seems gone
I update all the dependency library of gradio to the latest version, the problem seems gone
Can you tell me how to do it in detail? Thank U very much.
I update all the dependency library of gradio to the latest version, the problem seems gone
Can you tell me how to do it in detail? Thank U very much.
you can try the command below:
pip install -U aiofiles aiohttp altair fastapi ffmpy gradio_client httpx huggingface_hub Jinja2 markdown-it-py[linkify] mdit-py-plugins markupsafe matplotlib orjson pydantic python-multipart pydub pyyaml requests semantic_version typing_extensions uvicorn websockets
I update all the dependency library of gradio to the latest version, the problem seems gone
Can you tell me how to do it in detail? Thank U very much.
you can try the command below:
pip install -U aiofiles aiohttp altair fastapi ffmpy gradio_client httpx huggingface_hub Jinja2 markdown-it-py[linkify] mdit-py-plugins markupsafe matplotlib orjson pydantic python-multipart pydub pyyaml requests semantic_version typing_extensions uvicorn websockets
I tried this command, it updated successfully,but the bug is still going on. Thank U anyway!
but i can get result below 5 sampling steps, any idea?
i think its timeout,i also got error when i changed checkpoint,then i press refreshbutton beside the checkpoint selector its fine, maybe webui hangup and the asynchronous timeout setting is too short, or program can not callback correctly after finnish?
sorry,my english is poor
I found when the generate time is more than 4 seconds, the image will disappear, otherwise it will dispaly.
Because you scolded the AI, he will stop working for you,However I have the same problem,Sincerely repent and update and expand several times will be effective,
I have the same issue after upgrading from 1.2.1 to 1.3.1. I restored 1.2.1 from a backup file but it has the same problem now, so something outside of the stable-diffusion-webui folder has changed. I also tried reinstalling 1.2.1 from scratch which also didn't work. It seems that the web page loses connection as soon as an image is finished and won't respond until the page is refreshed. I'm on a Macbook M1.
I've a possible fix, though I'm not sure if we all have the same underlying problem.
It seems the python process cannot move the generated picture to the temporary output folder. For me this gets shown as: C:\Users\ [USER]\AppData\Local\Temp\gradio\ [picture.png] The phrases in [ ] will be different for you.
I had to create the "gradio" folder inside Temp. That fixed it for me.
Just make sure the full path exists. Also make sure the stable-diffusion process gets startet as your current user, not as different user or admin.
I've a possible fix, though I'm not sure if we all have the same underlying problem.
It seems the python process cannot move the generated picture to the temporary output folder. For me this gets shown as: C:\Users\ [USER]\AppData\Local\Temp\gradio\ [picture.png] The phrases in [ ] will be different for you.
I had to create the "gradio" folder inside Temp. That fixed it for me.
Just make sure the full path exists. Also make sure the stable-diffusion process gets startet as your current user, not as different user or admin.
I had this bug after upgrading to Windows 11. This solution (creating the 'gradio' folder) fixed it for me. Thank you so much!
I had this happen when I unchecked Settings > Add number to filename when saving. Had to re-enable it.
This should be fixed by https://github.com/AUTOMATIC1111/stable-diffusion-webui/pull/12717. Closing.