jbilcke-hf HF staff commited on
Commit
a583638
1 Parent(s): 3e0fef3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -83,13 +83,12 @@ with gr.Blocks() as demo:
83
  video_in = gr.Video(type="numpy", source="upload")
84
  prompt_in = gr.Textbox(label="Prompt", elem_id="prompt-in")
85
  denoise_strength = gr.Slider(label="Denoise strength", minimum=0.6, maximum=0.9, step=0.01, value=0.66)
86
- #duration = gr.Slider(label="Duration", minimum=0.5, maximum=3, step=0.5, value=3)
87
  #inference_steps = gr.Slider(label="Inference Steps", minimum=7, maximum=100, step=1, value=40, interactive=False)
88
  submit_btn = gr.Button("Submit")
89
  video_result = gr.Video(label="Video Output", elem_id="video-output")
90
 
91
  submit_btn.click(fn=infer,
92
- inputs=[prompt_in, video_in, denoise_strength, duration, secret_token],
93
  outputs=[video_result],
94
  api_name="zero_xl"
95
  )
 
83
  video_in = gr.Video(type="numpy", source="upload")
84
  prompt_in = gr.Textbox(label="Prompt", elem_id="prompt-in")
85
  denoise_strength = gr.Slider(label="Denoise strength", minimum=0.6, maximum=0.9, step=0.01, value=0.66)
 
86
  #inference_steps = gr.Slider(label="Inference Steps", minimum=7, maximum=100, step=1, value=40, interactive=False)
87
  submit_btn = gr.Button("Submit")
88
  video_result = gr.Video(label="Video Output", elem_id="video-output")
89
 
90
  submit_btn.click(fn=infer,
91
+ inputs=[prompt_in, video_in, denoise_strength, secret_token],
92
  outputs=[video_result],
93
  api_name="zero_xl"
94
  )