wickedreg commited on
Commit
0cdff7e
·
verified ·
1 Parent(s): 0184065

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -22,8 +22,7 @@ def detect_fruit(image):
22
 
23
  # детекция
24
  detections = model.predict(source=image_cv, conf=0.5)
25
-
26
- print(detections.boxes)
27
  # проверка на наличие детекций
28
  if len(results[0].boxes) == 0:
29
  return image_cv, None
 
22
 
23
  # детекция
24
  detections = model.predict(source=image_cv, conf=0.5)
25
+
 
26
  # проверка на наличие детекций
27
  if len(results[0].boxes) == 0:
28
  return image_cv, None