Spaces:
Running
Running
shriarul5273
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -157,8 +157,8 @@ with gr.Blocks() as demo:
|
|
157 |
with gr.Tab("Video"):
|
158 |
gr.Markdown("## YOLOv7 Inference on Video")
|
159 |
with gr.Row():
|
160 |
-
video_input = gr.Video(
|
161 |
-
video_output = gr.Video(
|
162 |
fps_video = gr.Number(0,label='FPS')
|
163 |
video_drop = gr.Dropdown(choices=models,value=models[0])
|
164 |
video_iou_threshold = gr.Slider(label="IOU Threshold",interactive=True, minimum=0.0, maximum=1.0, value=0.45)
|
|
|
157 |
with gr.Tab("Video"):
|
158 |
gr.Markdown("## YOLOv7 Inference on Video")
|
159 |
with gr.Row():
|
160 |
+
video_input = gr.Video(label="Input Image", sources="upload")
|
161 |
+
video_output = gr.Video(label="Output Image",format="mp4")
|
162 |
fps_video = gr.Number(0,label='FPS')
|
163 |
video_drop = gr.Dropdown(choices=models,value=models[0])
|
164 |
video_iou_threshold = gr.Slider(label="IOU Threshold",interactive=True, minimum=0.0, maximum=1.0, value=0.45)
|