Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -317,8 +317,7 @@ quick_prompts = [[x] for x in quick_prompts]
|
|
317 |
|
318 |
|
319 |
css = make_progress_bar_css()
|
320 |
-
|
321 |
-
with block:
|
322 |
gr.Markdown('''
|
323 |
# [FramePack](https://github.com/lllyasviel/FramePack)
|
324 |
|
@@ -373,5 +372,5 @@ with block:
|
|
373 |
start_button.click(fn=process, inputs=ips, outputs=[result_video, preview_image, progress_desc, progress_bar, start_button, end_button])
|
374 |
end_button.click(fn=end_process)
|
375 |
|
376 |
-
|
377 |
-
|
|
|
317 |
|
318 |
|
319 |
css = make_progress_bar_css()
|
320 |
+
with gr.Blocks(css=css) as app:
|
|
|
321 |
gr.Markdown('''
|
322 |
# [FramePack](https://github.com/lllyasviel/FramePack)
|
323 |
|
|
|
372 |
start_button.click(fn=process, inputs=ips, outputs=[result_video, preview_image, progress_desc, progress_bar, start_button, end_button])
|
373 |
end_button.click(fn=end_process)
|
374 |
|
375 |
+
if __name__ == "__main__":
|
376 |
+
app.queue().launch(share=True, ssr_mode=False)
|