Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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.
|
| 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
|