Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -342,23 +342,25 @@ with block:
|
|
342 |
start_button = gr.Button(value="Start Generation")
|
343 |
end_button = gr.Button(value="End Generation", interactive=False)
|
344 |
|
|
|
345 |
with gr.Group():
|
346 |
-
|
347 |
-
|
348 |
-
|
349 |
-
|
350 |
-
|
351 |
-
|
352 |
-
|
353 |
-
|
354 |
-
|
355 |
-
|
356 |
-
|
357 |
-
|
358 |
-
|
359 |
-
|
360 |
-
|
361 |
-
|
|
|
362 |
|
363 |
with gr.Column():
|
364 |
preview_image = gr.Image(label="Next Latents", height=200, visible=False)
|
|
|
342 |
start_button = gr.Button(value="Start Generation")
|
343 |
end_button = gr.Button(value="End Generation", interactive=False)
|
344 |
|
345 |
+
total_second_length = gr.Slider(label="Total Video Length (Seconds)", minimum=1, maximum=5, value=2, step=0.1)
|
346 |
with gr.Group():
|
347 |
+
with gr.Accordion("Advanced settings", open=False):
|
348 |
+
use_teacache = gr.Checkbox(label='Use TeaCache', value=True, info='Faster speed, but often makes hands and fingers slightly worse.')
|
349 |
+
|
350 |
+
n_prompt = gr.Textbox(label="Negative Prompt", value="", visible=False) # Not used
|
351 |
+
seed = gr.Number(label="Seed", value=31337, precision=0)
|
352 |
+
|
353 |
+
|
354 |
+
latent_window_size = gr.Slider(label="Latent Window Size", minimum=1, maximum=33, value=9, step=1, visible=False) # Should not change
|
355 |
+
steps = gr.Slider(label="Steps", minimum=1, maximum=100, value=25, step=1, info='Changing this value is not recommended.')
|
356 |
+
|
357 |
+
cfg = gr.Slider(label="CFG Scale", minimum=1.0, maximum=32.0, value=1.0, step=0.01, visible=False) # Should not change
|
358 |
+
gs = gr.Slider(label="Distilled CFG Scale", minimum=1.0, maximum=32.0, value=10.0, step=0.01, info='Changing this value is not recommended.')
|
359 |
+
rs = gr.Slider(label="CFG Re-Scale", minimum=0.0, maximum=1.0, value=0.0, step=0.01, visible=False) # Should not change
|
360 |
+
|
361 |
+
gpu_memory_preservation = gr.Slider(label="GPU Inference Preserved Memory (GB) (larger means slower)", minimum=6, maximum=128, value=6, step=0.1, info="Set this number to a larger value if you encounter OOM. Larger value causes slower speed.")
|
362 |
+
|
363 |
+
mp4_crf = gr.Slider(label="MP4 Compression", minimum=0, maximum=100, value=16, step=1, info="Lower means better quality. 0 is uncompressed. Change to 16 if you get black outputs. ")
|
364 |
|
365 |
with gr.Column():
|
366 |
preview_image = gr.Image(label="Next Latents", height=200, visible=False)
|