senyuankai commited on
Commit
44132c2
·
verified ·
1 Parent(s): f89cd7b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -15,7 +15,7 @@ def detect_and_count(image, model_choice):
15
  selected_model = YOLO(weights_path)
16
 
17
  # Run prediction
18
- results = selected_model.predict(source=image, conf=0.25)
19
  result = results[0]
20
 
21
  # Extract structural analytics
 
15
  selected_model = YOLO(weights_path)
16
 
17
  # Run prediction
18
+ results = selected_model.predict(source=image, conf=0.30)
19
  result = results[0]
20
 
21
  # Extract structural analytics