do not hide preview image too early
This commit is contained in:
parent
31ac0baba0
commit
410bef0853
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue