Spaces:
Runtime error
Runtime error
Commit
·
47a7b1d
1
Parent(s):
b08e5f0
Update app.py
Browse files
app.py
CHANGED
@@ -25,7 +25,7 @@ def yoloV8_func(image: gr.Image = None,
|
|
25 |
iou_threshold (float, optional): Intersection over Union threshold for object detection. Defaults to 0.50.
|
26 |
"""
|
27 |
# Load the YOLOv8 model from the 'best.pt' checkpoint
|
28 |
-
model_path = "./best.pt
|
29 |
model = YOLO(model_path)
|
30 |
|
31 |
# Perform object detection on the input image using the YOLOv8 model
|
|
|
25 |
iou_threshold (float, optional): Intersection over Union threshold for object detection. Defaults to 0.50.
|
26 |
"""
|
27 |
# Load the YOLOv8 model from the 'best.pt' checkpoint
|
28 |
+
model_path = "./best.pt"
|
29 |
model = YOLO(model_path)
|
30 |
|
31 |
# Perform object detection on the input image using the YOLOv8 model
|