Fabrice-TIERCELIN commited on
Commit
edf9a0d
·
verified ·
1 Parent(s): fb9abd4
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -989,6 +989,7 @@ def process_yield(input_image, final_prompt, generation_mode, n_prompt, randomiz
989
  time.sleep(1)
990
  yield (gr.update(), gr.update(), "In progress..." + str(i), gr.update(), gr.update(), gr.update(interactive=True))
991
  yield (gr.update(), gr.update(), "Finished", gr.update(), gr.update(), gr.update(interactive=False))
 
992
 
993
  title_html = """
994
  <h1><center>FramePack</center></h1>
 
989
  time.sleep(1)
990
  yield (gr.update(), gr.update(), "In progress..." + str(i), gr.update(), gr.update(), gr.update(interactive=True))
991
  yield (gr.update(), gr.update(), "Finished", gr.update(), gr.update(), gr.update(interactive=False))
992
+ return (gr.update(), gr.update(), "Finished", gr.update(), gr.update(), gr.update(interactive=False))
993
 
994
  title_html = """
995
  <h1><center>FramePack</center></h1>