Update app.py
Browse files
app.py
CHANGED
@@ -3,7 +3,7 @@ from ultralytics import YOLO
|
|
3 |
|
4 |
# Load your trained YOLOv8n model
|
5 |
# Ensure 'yolov8n.pt' is in the repository or provide the correct path.
|
6 |
-
model = YOLO("
|
7 |
|
8 |
def detect(image):
|
9 |
"""
|
|
|
3 |
|
4 |
# Load your trained YOLOv8n model
|
5 |
# Ensure 'yolov8n.pt' is in the repository or provide the correct path.
|
6 |
+
model = YOLO("best (1).pt")
|
7 |
|
8 |
def detect(image):
|
9 |
"""
|