ahmedxeno commited on
Commit
1fc9065
·
1 Parent(s): 27f9a7d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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.9)
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