fffiloni commited on
Commit
c635973
·
verified ·
1 Parent(s): e9602e3

Update app.py

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