Spaces:
Runtime error
Runtime error
Return
Browse files
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>
|