mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2025-02-01 19:22:59 +08:00
do not hide preview image too early
This commit is contained in:
parent
31ac0baba0
commit
410bef0853
@ -197,7 +197,7 @@ def check_progress_call(id_part):
|
|||||||
|
|
||||||
image = shared.state.current_image
|
image = shared.state.current_image
|
||||||
|
|
||||||
if image is None or progress >= 1:
|
if image is None:
|
||||||
image = gr.update(value=None)
|
image = gr.update(value=None)
|
||||||
else:
|
else:
|
||||||
preview_visibility = gr_show(True)
|
preview_visibility = gr_show(True)
|
||||||
|
Loading…
Reference in New Issue
Block a user