shriarul5273 commited on
Commit
8da3cbb
·
verified ·
1 Parent(s): 80aa0f8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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(type='pil', label="Input Image", sources="upload")
161
- video_output = gr.Video(type="pil", 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)
 
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)