aboutsummaryrefslogtreecommitdiffstats
path: root/modules/ui.py
diff options
context:
space:
mode:
authorAUTOMATIC <16777216c@gmail.com>2022-09-24 06:16:54 +0000
committerAUTOMATIC <16777216c@gmail.com>2022-09-24 06:16:54 +0000
commit410bef0853b61771729dd30f2f2df7a2906a1d4a (patch)
treef5060db98730379dd7dfe6eb860060ff3dd9ca72 /modules/ui.py
parent31ac0baba069f4b9470b4c0812c1e2b7583df512 (diff)
downloadstable-diffusion-webui-gfx803-410bef0853b61771729dd30f2f2df7a2906a1d4a.tar.gz
stable-diffusion-webui-gfx803-410bef0853b61771729dd30f2f2df7a2906a1d4a.tar.bz2
stable-diffusion-webui-gfx803-410bef0853b61771729dd30f2f2df7a2906a1d4a.zip
do not hide preview image too early
Diffstat (limited to 'modules/ui.py')
-rw-r--r--modules/ui.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/ui.py b/modules/ui.py
index 1c9b0f37..e0ed26d9 100644
--- a/modules/ui.py
+++ b/modules/ui.py
@@ -197,7 +197,7 @@ def check_progress_call(id_part):
image = shared.state.current_image
- if image is None or progress >= 1:
+ if image is None:
image = gr.update(value=None)
else:
preview_visibility = gr_show(True)