diff options
author | AUTOMATIC <16777216c@gmail.com> | 2022-09-24 06:16:54 +0000 |
---|---|---|
committer | AUTOMATIC <16777216c@gmail.com> | 2022-09-24 06:16:54 +0000 |
commit | 410bef0853b61771729dd30f2f2df7a2906a1d4a (patch) | |
tree | f5060db98730379dd7dfe6eb860060ff3dd9ca72 /modules/ui.py | |
parent | 31ac0baba069f4b9470b4c0812c1e2b7583df512 (diff) | |
download | stable-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.py | 2 |
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)
|