randomshit11 commited on
Commit
e60211d
·
verified ·
1 Parent(s): 62ca2b2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -5,7 +5,7 @@ import os
5
  from ultralytics import YOLO
6
 
7
 
8
- model = YOLO('yolov8x-seg.pt')
9
  path = [['3891186464_00d76e10a2_z.jpg'], ['images (1).jpeg']]
10
  video_path = [['sheep.mp4']]
11
 
@@ -72,7 +72,7 @@ interface_video = gr.Interface(
72
  outputs=outputs,
73
  title="Cattle detector using YOLOV8 NANO",
74
  examples=video_path,
75
- cache_examples=True,
76
  )
77
 
78
  gr.TabbedInterface(
 
5
  from ultralytics import YOLO
6
 
7
 
8
+ model = YOLO('yolov8n-seg.pt')
9
  path = [['3891186464_00d76e10a2_z.jpg'], ['images (1).jpeg']]
10
  video_path = [['sheep.mp4']]
11
 
 
72
  outputs=outputs,
73
  title="Cattle detector using YOLOV8 NANO",
74
  examples=video_path,
75
+ cache_examples=False,
76
  )
77
 
78
  gr.TabbedInterface(