Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -7,7 +7,7 @@ model = YOLO('best (7).pt')
|
|
7 |
|
8 |
def predict_image(img):
|
9 |
|
10 |
-
model = YOLO('best (
|
11 |
result = model.predict(img,conf=0.97)
|
12 |
res_plotted = result[0].plot()
|
13 |
#cv2.imshow( res_plotted)
|
|
|
7 |
|
8 |
def predict_image(img):
|
9 |
|
10 |
+
model = YOLO('best (7).pt')
|
11 |
result = model.predict(img,conf=0.97)
|
12 |
res_plotted = result[0].plot()
|
13 |
#cv2.imshow( res_plotted)
|