Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -8,7 +8,7 @@ import gradio as gr
|
|
| 8 |
torch.serialization.add_safe_globals([DetectionModel, nn.Sequential])
|
| 9 |
|
| 10 |
# Load YOLOv8 model
|
| 11 |
-
model = YOLO("best
|
| 12 |
|
| 13 |
# Detection function
|
| 14 |
def detect_fracture(image):
|
|
|
|
| 8 |
torch.serialization.add_safe_globals([DetectionModel, nn.Sequential])
|
| 9 |
|
| 10 |
# Load YOLOv8 model
|
| 11 |
+
model = YOLO("best.pt")
|
| 12 |
|
| 13 |
# Detection function
|
| 14 |
def detect_fracture(image):
|