Aditya9790 commited on
Commit
d86d656
1 Parent(s): 2bb7d93

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -290,4 +290,4 @@ def detect(img, model):
290
  print(f'Done. ({time.time() - t0:.3f}s)')
291
 
292
 
293
- gr.Interface(detect,[gr.Image(type="pil"),gr.Dropdown(choices=model_names)], gr.Image(type="pil"),title="Yolov7",examples=[["horses.jpeg", "yolov7"]],description="demo for <a href='https://github.com/WongKinYiu/yolov7' style='text-decoration: underline' target='_blank'>WongKinYiu/yolov7</a> Trainable bag-of-freebies sets new state-of-the-art for real-time object detectors").launch()
 
290
  print(f'Done. ({time.time() - t0:.3f}s)')
291
 
292
 
293
+ gr.Interface(detect,[gr.Video(format="mp4"),gr.Dropdown(choices=model_names)], gr.Video(format="mp4"),title="Yolov7",examples=[["street.mp4", "yolov7"]],description="demo for <a href='https://github.com/WongKinYiu/yolov7' style='text-decoration: underline' target='_blank'>WongKinYiu/yolov7</a> Trainable bag-of-freebies sets new state-of-the-art for real-time object detectors").launch()