Commit 410bef08 authored by AUTOMATIC's avatar AUTOMATIC

do not hide preview image too early

parent 31ac0bab
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment