Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -759,6 +759,7 @@ with block:
|
|
| 759 |
latent_window_size = gr.Slider(visible=False, value=9)
|
| 760 |
cfg = gr.Slider(visible=False, value=1.0)
|
| 761 |
rs = gr.Slider(visible=False, value=0.0)
|
|
|
|
| 762 |
|
| 763 |
# Middle Column - Main Content
|
| 764 |
with gr.Column(elem_classes="main-panel"):
|
|
@@ -823,7 +824,7 @@ with block:
|
|
| 823 |
input_image, prompt, t2v, n_prompt, seed,
|
| 824 |
total_second_length, latent_window_size,
|
| 825 |
steps, cfg, gs, rs, gpu_memory_preservation,
|
| 826 |
-
use_teacache,
|
| 827 |
quality_radio, aspect_ratio
|
| 828 |
]
|
| 829 |
|
|
|
|
| 759 |
latent_window_size = gr.Slider(visible=False, value=9)
|
| 760 |
cfg = gr.Slider(visible=False, value=1.0)
|
| 761 |
rs = gr.Slider(visible=False, value=0.0)
|
| 762 |
+
mp4_crf = gr.Number(visible=False, value=16) # <-- Add this hidden component
|
| 763 |
|
| 764 |
# Middle Column - Main Content
|
| 765 |
with gr.Column(elem_classes="main-panel"):
|
|
|
|
| 824 |
input_image, prompt, t2v, n_prompt, seed,
|
| 825 |
total_second_length, latent_window_size,
|
| 826 |
steps, cfg, gs, rs, gpu_memory_preservation,
|
| 827 |
+
use_teacache, mp4_crf, # Use the hidden component here
|
| 828 |
quality_radio, aspect_ratio
|
| 829 |
]
|
| 830 |
|