Spaces:
Sleeping
Sleeping
jovian commited on
Commit ·
372a23a
1
Parent(s): b856007
bes.pt
Browse files
app.py
CHANGED
|
@@ -15,7 +15,7 @@ class Detection:
|
|
| 15 |
|
| 16 |
def __init__(self):
|
| 17 |
# Set the model path and confidence threshold
|
| 18 |
-
yolov8_model_path = "./model/
|
| 19 |
|
| 20 |
# Initialize the AutoDetectionModel
|
| 21 |
self.model = AutoDetectionModel.from_pretrained(
|
|
|
|
| 15 |
|
| 16 |
def __init__(self):
|
| 17 |
# Set the model path and confidence threshold
|
| 18 |
+
yolov8_model_path = "./model/best.pt" # Update to your model path
|
| 19 |
|
| 20 |
# Initialize the AutoDetectionModel
|
| 21 |
self.model = AutoDetectionModel.from_pretrained(
|