Update app.py
Browse files
app.py
CHANGED
@@ -3,8 +3,8 @@ from ultralytics import YOLO # Import YOLO from Ultralytics
|
|
3 |
from PIL import Image
|
4 |
import numpy as np
|
5 |
|
6 |
-
|
7 |
-
model = YOLO('
|
8 |
|
9 |
# Define the prediction function for YOLO model
|
10 |
def predict(image):
|
|
|
3 |
from PIL import Image
|
4 |
import numpy as np
|
5 |
|
6 |
+
|
7 |
+
model = YOLO('mouseFeetDetection.pt') # Use the YOLO class to load the model
|
8 |
|
9 |
# Define the prediction function for YOLO model
|
10 |
def predict(image):
|