Update app.py
Browse files
app.py
CHANGED
@@ -411,8 +411,8 @@ def generate_video_from_image(
|
|
411 |
def create_advanced_options():
|
412 |
with gr.Accordion("Step 4: Advanced Options (Optional)", open=False):
|
413 |
seed = gr.Slider(label="4.1 Seed", minimum=0, maximum=1000000, step=1, value=646373)
|
414 |
-
inference_steps = gr.Slider(label="4.2 Inference Steps", minimum=
|
415 |
-
guidance_scale = gr.Slider(label="4.3 Guidance Scale", minimum=1.0, maximum=
|
416 |
|
417 |
gpu_duration = gr.Dropdown(
|
418 |
label="GPU Duration",
|
@@ -441,7 +441,7 @@ def create_advanced_options():
|
|
441 |
num_frames_slider = gr.Slider(
|
442 |
label="4.5 Number of Frames",
|
443 |
minimum=1,
|
444 |
-
maximum=
|
445 |
step=1,
|
446 |
value=60,
|
447 |
visible=False,
|
|
|
411 |
def create_advanced_options():
|
412 |
with gr.Accordion("Step 4: Advanced Options (Optional)", open=False):
|
413 |
seed = gr.Slider(label="4.1 Seed", minimum=0, maximum=1000000, step=1, value=646373)
|
414 |
+
inference_steps = gr.Slider(label="4.2 Inference Steps", minimum=5, maximum=150, step=5, value=40)
|
415 |
+
guidance_scale = gr.Slider(label="4.3 Guidance Scale", minimum=1.0, maximum=10.0, step=0.1, value=4.2)
|
416 |
|
417 |
gpu_duration = gr.Dropdown(
|
418 |
label="GPU Duration",
|
|
|
441 |
num_frames_slider = gr.Slider(
|
442 |
label="4.5 Number of Frames",
|
443 |
minimum=1,
|
444 |
+
maximum=500,
|
445 |
step=1,
|
446 |
value=60,
|
447 |
visible=False,
|