akhaliq HF staff commited on
Commit
4ae4eb3
1 Parent(s): 31708af

fix oom error

Browse files

set max_length for input video

Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -57,7 +57,7 @@ with gr.Blocks() as demo:
57
 
58
  with gr.Row():
59
  reference_image = gr.Image(label="Reference Image")
60
- motion_sequence = gr.Video(format="mp4", label="Motion Sequence")
61
 
62
  with gr.Column():
63
  random_seed = gr.Textbox(label="Random seed", value=1, info="default: -1")
 
57
 
58
  with gr.Row():
59
  reference_image = gr.Image(label="Reference Image")
60
+ motion_sequence = gr.Video(format="mp4", label="Motion Sequence",max_length=1)
61
 
62
  with gr.Column():
63
  random_seed = gr.Textbox(label="Random seed", value=1, info="default: -1")