freealise commited on
Commit
f7824e3
1 Parent(s): 5a7c81b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -189,12 +189,12 @@ with gr.Blocks(css=css) as demo:
189
  with gr.Row():
190
  with gr.Column():
191
  input_url = gr.Textbox(value="./examples/streetview.mp4", label="URL")
192
- input_video = gr.Video(label="Input Video")
193
  input_url.change(fn=loadurl, inputs=[input_url], outputs=[input_video])
194
  submit = gr.Button("Submit")
195
  with gr.Column():
196
  model_type = gr.Dropdown([("small", "vits"), ("base", "vitb"), ("large", "vitl")], type="value", value="vits", label='Model Type')
197
- processed_video = gr.Video(label="Processed Video")
198
 
199
  def on_submit(uploaded_video,model_type):
200
 
 
189
  with gr.Row():
190
  with gr.Column():
191
  input_url = gr.Textbox(value="./examples/streetview.mp4", label="URL")
192
+ input_video = gr.Video(label="Input Video", format="mp4")
193
  input_url.change(fn=loadurl, inputs=[input_url], outputs=[input_video])
194
  submit = gr.Button("Submit")
195
  with gr.Column():
196
  model_type = gr.Dropdown([("small", "vits"), ("base", "vitb"), ("large", "vitl")], type="value", value="vits", label='Model Type')
197
+ processed_video = gr.Video(label="Processed Video", format="mp4")
198
 
199
  def on_submit(uploaded_video,model_type):
200