multimodalart HF Staff commited on
Commit
fc950c9
·
verified ·
1 Parent(s): 908b63e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -186,7 +186,7 @@ with gr.Blocks(css=css, theme=gr.themes.Soft()) as demo:
186
 
187
 
188
  with gr.Accordion("Advanced Settings", open=False):
189
- steps_input = gr.Slider(label="Sampling Steps", minimum=10, maximum=70, value=40, step=1)
190
  scale_input = gr.Slider(label="Guidance Scale", minimum=1.0, maximum=10.0, value=cfg.sample_guide_scale, step=0.1)
191
  shift_input = gr.Slider(label="Sample Shift", minimum=1.0, maximum=20.0, value=cfg.sample_shift, step=0.1)
192
  seed_input = gr.Number(label="Seed (-1 for random)", value=-1, precision=0)
@@ -209,7 +209,7 @@ with gr.Blocks(css=css, theme=gr.themes.Soft()) as demo:
209
  example_image_path = os.path.join(os.path.dirname(__file__), "examples/i2v_input.JPG")
210
  gr.Examples(
211
  examples=[
212
- [example_image_path, "The cat removes the glasses its eyes.", "1280*704", 1.5],
213
  [None, "A cinematic shot of a boat sailing on a calm sea at sunset.", "1280*704", 2.0],
214
  [None, "Drone footage flying over a futuristic city with flying cars.", "1280*704", 2.0],
215
  ],
 
186
 
187
 
188
  with gr.Accordion("Advanced Settings", open=False):
189
+ steps_input = gr.Slider(label="Sampling Steps", minimum=10, maximum=50, value=38, step=1)
190
  scale_input = gr.Slider(label="Guidance Scale", minimum=1.0, maximum=10.0, value=cfg.sample_guide_scale, step=0.1)
191
  shift_input = gr.Slider(label="Sample Shift", minimum=1.0, maximum=20.0, value=cfg.sample_shift, step=0.1)
192
  seed_input = gr.Number(label="Seed (-1 for random)", value=-1, precision=0)
 
209
  example_image_path = os.path.join(os.path.dirname(__file__), "examples/i2v_input.JPG")
210
  gr.Examples(
211
  examples=[
212
+ [example_image_path, "The cat removes the glasses eyes.", "1280*704", 1.5],
213
  [None, "A cinematic shot of a boat sailing on a calm sea at sunset.", "1280*704", 2.0],
214
  [None, "Drone footage flying over a futuristic city with flying cars.", "1280*704", 2.0],
215
  ],