Spaces:
Runtime error
Runtime error
Commit
·
3eeb12e
1
Parent(s):
5b20eb4
Update Model
Browse files
app.py
CHANGED
|
@@ -25,7 +25,7 @@ def yoloV8_func(image: gr.Image = None,
|
|
| 25 |
"""
|
| 26 |
# Load the YOLOv8 model from the 'best.pt' checkpoint
|
| 27 |
#model_path = "EyesCareEyeDetectModel.pt"
|
| 28 |
-
model = YOLO("EyesCare9cbest50.pt
|
| 29 |
|
| 30 |
# Perform object detection on the input image using the YOLOv8 model
|
| 31 |
results = model.predict(image,
|
|
|
|
| 25 |
"""
|
| 26 |
# Load the YOLOv8 model from the 'best.pt' checkpoint
|
| 27 |
#model_path = "EyesCareEyeDetectModel.pt"
|
| 28 |
+
model = YOLO("EyesCare9cbest50.pt")
|
| 29 |
|
| 30 |
# Perform object detection on the input image using the YOLOv8 model
|
| 31 |
results = model.predict(image,
|