Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -196,7 +196,7 @@ async def predict_single_dog(image):
|
|
196 |
# return dogs
|
197 |
|
198 |
|
199 |
-
async def detect_multiple_dogs(image, conf_threshold=0.
|
200 |
results = model_yolo(image, conf=conf_threshold, iou=iou_threshold)[0]
|
201 |
dogs = []
|
202 |
boxes = []
|
|
|
196 |
# return dogs
|
197 |
|
198 |
|
199 |
+
async def detect_multiple_dogs(image, conf_threshold=0.3, iou_threshold=0.4):
|
200 |
results = model_yolo(image, conf=conf_threshold, iou=iou_threshold)[0]
|
201 |
dogs = []
|
202 |
boxes = []
|