Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -5,7 +5,7 @@ import numpy as np
|
|
| 5 |
from PIL import Image
|
| 6 |
|
| 7 |
# Load the model
|
| 8 |
-
model = YOLO("
|
| 9 |
|
| 10 |
# Define the prediction function
|
| 11 |
def detect_blood_cells(image):
|
|
|
|
| 5 |
from PIL import Image
|
| 6 |
|
| 7 |
# Load the model
|
| 8 |
+
model = YOLO("yolov8n.pt") # Replace with your model path
|
| 9 |
|
| 10 |
# Define the prediction function
|
| 11 |
def detect_blood_cells(image):
|