Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -5,7 +5,7 @@ import tempfile
|
|
5 |
import os
|
6 |
|
7 |
# Load your trained model
|
8 |
-
model = YOLO("
|
9 |
|
10 |
# Detection function with confidence filter
|
11 |
def detect_disease(image):
|
|
|
5 |
import os
|
6 |
|
7 |
# Load your trained model
|
8 |
+
model = YOLO("best.pt") # Replace with your trained model .pt path
|
9 |
|
10 |
# Detection function with confidence filter
|
11 |
def detect_disease(image):
|