Spaces:
Running
Running
Update app.py
Browse files
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 |
-
|
161 |
-
|
162 |
-
|
163 |
-
|
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
|