tarasevicius commited on
Commit
72e7b47
·
1 Parent(s): e4777e1

fix: update model path

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -9,7 +9,7 @@ import cv2
9
  model_path = 'local_latest.pt'
10
 
11
  # Load the YOLOv5 model
12
- model = torch.hub.load('ultralytics/yolov5', 'custom', path=model_path, source='local')
13
  model.line_thickness = 3 # Set the thickness of the bounding box lines
14
 
15
  # Print model class names
 
9
  model_path = 'local_latest.pt'
10
 
11
  # Load the YOLOv5 model
12
+ model = torch.hub.load('ultralytics/yolov5', 'custom', path=model_path)
13
  model.line_thickness = 3 # Set the thickness of the bounding box lines
14
 
15
  # Print model class names