asahi417 commited on
Commit
44c7dba
·
verified ·
1 Parent(s): 58e3a0c

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -47,8 +47,8 @@ with gr.Blocks() as demo:
47
  num_frames = gr.Slider(label="Number of frames", minimum=1, maximum=100, step=1, value=25)
48
  motion_bucket_id = gr.Slider(label="Motion bucket id", minimum=1, maximum=255, step=1, value=127)
49
  noise_aug_strength = gr.Slider(label="Noise strength", minimum=0, maximum=1, step=0.01, value=0.02)
50
- fps = gr.Slider(label="Frames per second", minimum=5, maximum=30, step=1, value=6)
51
- decode_chunk_size = gr.Slider(label="Decode chunk size", minimum=1, maximum=10, step=1, value=2)
52
  run_button.click(
53
  fn=infer,
54
  inputs=[image, num_frames, motion_bucket_id, noise_aug_strength, decode_chunk_size, fps, seed],
 
47
  num_frames = gr.Slider(label="Number of frames", minimum=1, maximum=100, step=1, value=25)
48
  motion_bucket_id = gr.Slider(label="Motion bucket id", minimum=1, maximum=255, step=1, value=127)
49
  noise_aug_strength = gr.Slider(label="Noise strength", minimum=0, maximum=1, step=0.01, value=0.02)
50
+ fps = gr.Slider(label="Frames per second", minimum=5, maximum=30, step=1, value=7)
51
+ decode_chunk_size = gr.Slider(label="Decode chunk size", minimum=1, maximum=10, step=1, value=8)
52
  run_button.click(
53
  fn=infer,
54
  inputs=[image, num_frames, motion_bucket_id, noise_aug_strength, decode_chunk_size, fps, seed],