ElodieA commited on
Commit
9932847
·
verified ·
1 Parent(s): c48dbc5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -21,7 +21,7 @@ def process_video(video_file):
21
  class_names = ['Hymenoptera', 'Mantodea', 'Odonata', 'Orthoptera', 'Coleoptera', 'Lepidoptera', 'Hemiptera']
22
 
23
  # Load the YOLOv8 model
24
- model = YOLO("/content/drive/MyDrive/EcoHackathon/Models/insect3.pt")
25
 
26
  # Open the video file
27
  cap = cv2.VideoCapture(video_file)
 
21
  class_names = ['Hymenoptera', 'Mantodea', 'Odonata', 'Orthoptera', 'Coleoptera', 'Lepidoptera', 'Hemiptera']
22
 
23
  # Load the YOLOv8 model
24
+ model = YOLO("insect_detection4.pt")
25
 
26
  # Open the video file
27
  cap = cv2.VideoCapture(video_file)