Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -5,7 +5,7 @@ from PIL import Image
|
|
| 5 |
|
| 6 |
# Load the YOLOv8 model
|
| 7 |
from ultralytics import YOLO
|
| 8 |
-
model = YOLO("
|
| 9 |
|
| 10 |
# Define a function for inference
|
| 11 |
def detect_objects(input_image):
|
|
|
|
| 5 |
|
| 6 |
# Load the YOLOv8 model
|
| 7 |
from ultralytics import YOLO
|
| 8 |
+
model = YOLO("best.pt")
|
| 9 |
|
| 10 |
# Define a function for inference
|
| 11 |
def detect_objects(input_image):
|