asahi417 commited on
Commit
ea848f3
1 Parent(s): 44c7dba

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -48,11 +48,11 @@ with gr.Blocks() as demo:
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],
55
  outputs=[video]
56
  )
57
  gr.Examples(examples=examples, inputs=image)
58
- demo.launch()
 
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=25, step=1, value=7)
52
  run_button.click(
53
  fn=infer,
54
  inputs=[image, num_frames, motion_bucket_id, noise_aug_strength, decode_chunk_size, fps, seed],
55
  outputs=[video]
56
  )
57
  gr.Examples(examples=examples, inputs=image)
58
+ demo.launch(server_name="0.0.0.0")