Norakneath commited on
Commit
72d6d8c
·
verified ·
1 Parent(s): ae7a387

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -4,7 +4,7 @@ from PIL import Image, ImageDraw
4
  import random
5
 
6
  # Load YOLO model (ensure best.pt exists in the working directory)
7
- YOLO_MODEL_PATH = "yolo11s-newclasses.pt"
8
  model = YOLO(YOLO_MODEL_PATH, task='detect').to("cpu")
9
 
10
  # Define a set of colors for different classes
 
4
  import random
5
 
6
  # Load YOLO model (ensure best.pt exists in the working directory)
7
+ YOLO_MODEL_PATH = "Yolov12s-trained.pt"
8
  model = YOLO(YOLO_MODEL_PATH, task='detect').to("cpu")
9
 
10
  # Define a set of colors for different classes