Noursine commited on
Commit
61cc421
·
verified ·
1 Parent(s): 082fac5

Update yolo_anomaly

Browse files
Files changed (1) hide show
  1. yolo_anomaly +1 -1
yolo_anomaly CHANGED
@@ -4,7 +4,7 @@ from ultralytics import YOLO
4
  from PIL import Image
5
 
6
  # Load YOLO model
7
- def load_model(model_path="best.pt"):
8
  """Load the YOLO model"""
9
  model = YOLO(model_path)
10
  return model
 
4
  from PIL import Image
5
 
6
  # Load YOLO model
7
+ def load_model(model_path="best (10).pt"):
8
  """Load the YOLO model"""
9
  model = YOLO(model_path)
10
  return model