From 743657ef2355920fb2f1f934a34647ccd0f916c7 Mon Sep 17 00:00:00 2001 From: layerdiffusion <19834515+lllyasviel@users.noreply.github.com> Date: Fri, 18 Apr 2025 18:28:07 -0700 Subject: [PATCH] add threads --- demo_gradio.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/demo_gradio.py b/demo_gradio.py index 971e0fa..c59ed58 100644 --- a/demo_gradio.py +++ b/demo_gradio.py @@ -393,6 +393,9 @@ with block: gr.Markdown('Note that the ending actions will be generated before the starting actions due to the inverted sampling. If the starting action is not in the video, you just need to wait, and it will be generated later.') progress_desc = gr.Markdown('', elem_classes='no-generating-animation') progress_bar = gr.HTML('', elem_classes='no-generating-animation') + + gr.HTML('
Share your results and find ideas at the FramePack Twitter (X) thread
') + ips = [input_image, prompt, n_prompt, seed, total_second_length, latent_window_size, steps, cfg, gs, rs, gpu_memory_preservation, use_teacache, mp4_crf] start_button.click(fn=process, inputs=ips, outputs=[result_video, preview_image, progress_desc, progress_bar, start_button, end_button]) end_button.click(fn=end_process)