Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -5,7 +5,7 @@ import cv2
|
|
5 |
# Yolov8 nano on custom data with BS=32
|
6 |
# model = YOLO('custom_model.pt')
|
7 |
# Use YoloV8 Medium model trained on Custom data with bs32
|
8 |
-
model = YOLO('
|
9 |
|
10 |
def infer(path):
|
11 |
img = cv2.imread(path)
|
|
|
5 |
# Yolov8 nano on custom data with BS=32
|
6 |
# model = YOLO('custom_model.pt')
|
7 |
# Use YoloV8 Medium model trained on Custom data with bs32
|
8 |
+
model = YOLO('best.pt')
|
9 |
|
10 |
def infer(path):
|
11 |
img = cv2.imread(path)
|