Luongdzung commited on
Commit
d4e0b48
β€’
1 Parent(s): 752eb4b

changing the gradio version

Browse files
Files changed (2) hide show
  1. README.md +1 -1
  2. app.py +0 -2
README.md CHANGED
@@ -4,7 +4,7 @@ emoji: πŸƒ
4
  colorFrom: gray
5
  colorTo: green
6
  sdk: gradio
7
- sdk_version: 3.0.24
8
  app_file: app.py
9
  pinned: false
10
  ---
 
4
  colorFrom: gray
5
  colorTo: green
6
  sdk: gradio
7
+ sdk_version: 3.14.0
8
  app_file: app.py
9
  pinned: false
10
  ---
app.py CHANGED
@@ -394,12 +394,10 @@ def detect_vid(vid,model):
394
  img_interface = gr.Interface(detect_img,
395
  [gr.Image(type="pil"),gr.Dropdown(choices=models_list)],
396
  gr.Image(type="pil"),title="Yolov7",examples=[["cars.jpg", "yolov7.pt"]],
397
- cache_examples=False,
398
  description="Yolov7 for image")
399
  vid_interface = gr.Interface(detect_vid,
400
  [gr.Video(),gr.Dropdown(choices=models_list)],
401
  gr.Video(format='mp4'),title="Yolov7",examples=[["messi.mp4", "yolov7.pt"]],
402
- cache_examples=False,
403
  description="Yolov7 for video")
404
  final_interface = gr.TabbedInterface([img_interface, vid_interface],
405
  tab_names=['Image Inference', 'Video Inference'])
 
394
  img_interface = gr.Interface(detect_img,
395
  [gr.Image(type="pil"),gr.Dropdown(choices=models_list)],
396
  gr.Image(type="pil"),title="Yolov7",examples=[["cars.jpg", "yolov7.pt"]],
 
397
  description="Yolov7 for image")
398
  vid_interface = gr.Interface(detect_vid,
399
  [gr.Video(),gr.Dropdown(choices=models_list)],
400
  gr.Video(format='mp4'),title="Yolov7",examples=[["messi.mp4", "yolov7.pt"]],
 
401
  description="Yolov7 for video")
402
  final_interface = gr.TabbedInterface([img_interface, vid_interface],
403
  tab_names=['Image Inference', 'Video Inference'])