shaheernges12 commited on
Commit
6a8d95f
·
verified ·
1 Parent(s): 446bc62

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -56,7 +56,7 @@ def run_yolo(image: Image.Image):
56
  if not yolo_model:
57
  raise HTTPException(status_code=500, detail="YOLO model not loaded")
58
 
59
- results = yolo_model(image)
60
 
61
  detections = []
62
  summary = {}
 
56
  if not yolo_model:
57
  raise HTTPException(status_code=500, detail="YOLO model not loaded")
58
 
59
+ results = yolo_model(image, conf=0.4, iou=0.45)
60
 
61
  detections = []
62
  summary = {}