Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -6,11 +6,11 @@ from ultralyticsplus import YOLO
|
|
| 6 |
|
| 7 |
|
| 8 |
def yolov8_inference(
|
| 9 |
-
image
|
| 10 |
-
model_path
|
| 11 |
-
image_size
|
| 12 |
-
conf_threshold
|
| 13 |
-
iou_threshold
|
| 14 |
):
|
| 15 |
"""
|
| 16 |
YOLOv8 inference function
|
|
|
|
| 6 |
|
| 7 |
|
| 8 |
def yolov8_inference(
|
| 9 |
+
image,
|
| 10 |
+
model_path,
|
| 11 |
+
image_size,
|
| 12 |
+
conf_threshold,
|
| 13 |
+
iou_threshold,
|
| 14 |
):
|
| 15 |
"""
|
| 16 |
YOLOv8 inference function
|