Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -7,7 +7,7 @@ import yolov9
|
|
| 7 |
from PIL import Image
|
| 8 |
|
| 9 |
# Load the YOLOv9 model
|
| 10 |
-
model = yolov9.load('
|
| 11 |
model.conf = 0.1 # Lowered the confidence threshold
|
| 12 |
model.iou = 0.45
|
| 13 |
|
|
|
|
| 7 |
from PIL import Image
|
| 8 |
|
| 9 |
# Load the YOLOv9 model
|
| 10 |
+
model = yolov9.load('fracture.pt', device="cpu")
|
| 11 |
model.conf = 0.1 # Lowered the confidence threshold
|
| 12 |
model.iou = 0.45
|
| 13 |
|