Fabrice-TIERCELIN commited on
Commit
16bdd2b
1 Parent(s): 6a72674

Adapt for Gradio 4

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -143,7 +143,7 @@ with gr.Blocks(css=css) as demo:
143
  """
144
  )
145
 
146
- video_in = gr.Video(type="numpy", source="upload")
147
  prompt_in = gr.Textbox(label="Prompt", placeholder="This must be the same prompt you used for the original clip :)", elem_id="prompt-in")
148
  denoise_strength = gr.Slider(label="Denoise strength", minimum=0.6, maximum=0.9, step=0.01, value=0.66)
149
  #inference_steps = gr.Slider(label="Inference Steps", minimum=10, maximum=100, step=1, value=40, interactive=False)
 
143
  """
144
  )
145
 
146
+ video_in = gr.Video(sources=["upload"])
147
  prompt_in = gr.Textbox(label="Prompt", placeholder="This must be the same prompt you used for the original clip :)", elem_id="prompt-in")
148
  denoise_strength = gr.Slider(label="Denoise strength", minimum=0.6, maximum=0.9, step=0.01, value=0.66)
149
  #inference_steps = gr.Slider(label="Inference Steps", minimum=10, maximum=100, step=1, value=40, interactive=False)