ford442 commited on
Commit
2c9f160
1 Parent(s): 2a21be6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
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=1, maximum=50, step=1, value=35)
415
- guidance_scale = gr.Slider(label="4.3 Guidance Scale", minimum=1.0, maximum=5.0, step=0.1, value=4.2)
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=300,
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,