AymanFahim commited on
Commit
7a302f2
·
verified ·
1 Parent(s): 3798c44

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -7,7 +7,7 @@ model = YOLO('best.pt')
7
 
8
  def detect_ingredients(image):
9
  # 2. Run prediction
10
- results = model.predict(image, conf=0.5, iou=0.3)
11
 
12
  # 3. Get the image with boxes
13
  result_image = results[0].plot()
 
7
 
8
  def detect_ingredients(image):
9
  # 2. Run prediction
10
+ results = model.predict(image, conf=0.7, iou=0.3)
11
 
12
  # 3. Get the image with boxes
13
  result_image = results[0].plot()