Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -121,7 +121,7 @@ with gr.Blocks() as demo:
121
  gr.HTML(title)
122
  with gr.Row():
123
  with gr.Column():
124
- video_input = gr.Video(source="upload", type="filepath")
125
  gif_input = gr.File(label="import a GIF instead", file_types=['.gif'])
126
  gif_input.change(fn=convertG2V, inputs=gif_input, outputs=video_input)
127
  submit_btn = gr.Button("Submit")
 
121
  gr.HTML(title)
122
  with gr.Row():
123
  with gr.Column():
124
+ video_input = gr.Video(sources="upload", value="filepath")
125
  gif_input = gr.File(label="import a GIF instead", file_types=['.gif'])
126
  gif_input.change(fn=convertG2V, inputs=gif_input, outputs=video_input)
127
  submit_btn = gr.Button("Submit")