do not hide preview image too early

This commit is contained in:
AUTOMATIC 2022-09-24 09:16:54 +03:00
parent 31ac0baba0
commit 410bef0853

View file

@ -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)