freealise commited on
Commit
c3b945b
1 Parent(s): 0501944

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -5
app.py CHANGED
@@ -157,11 +157,13 @@ with gr.Blocks(css=css) as demo:
157
  gr.Markdown("### Video Depth Prediction demo")
158
 
159
  with gr.Row():
160
- input_video = gr.Video(label="Input Video")
161
- model_type = gr.Dropdown(["vits", "vitb", "vitl"], type="value", label='Model Type')
162
- submit = gr.Button("Submit")
163
- processed_video = gr.Video(label="Processed Video")
164
-
 
 
165
  def on_submit(uploaded_video,model_type):
166
 
167
  # Process the video and get the path of the output video
 
157
  gr.Markdown("### Video Depth Prediction demo")
158
 
159
  with gr.Row():
160
+ with gr.Column():
161
+ input_video = gr.Video(label="Input Video")
162
+ submit = gr.Button("Submit")
163
+ with gr.Column():
164
+ model_type = gr.Dropdown([["small", "vits"], ["base", "vitb"], ["large", "vitl"]], type="value", value="vitl", label='Model Type')
165
+ processed_video = gr.Video(label="Processed Video")
166
+
167
  def on_submit(uploaded_video,model_type):
168
 
169
  # Process the video and get the path of the output video