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