Commit 410bef08 authored by AUTOMATIC's avatar AUTOMATIC
Browse files

do not hide preview image too early

parent 31ac0bab
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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)