Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -183,7 +183,7 @@ async def predict(image):
|
|
183 |
if isinstance(image, np.ndarray):
|
184 |
image = Image.fromarray(image)
|
185 |
|
186 |
-
dogs = await detect_multiple_dogs(image, conf_threshold=0.
|
187 |
|
188 |
if len(dogs) <= 1:
|
189 |
return await process_single_dog(image)
|
|
|
183 |
if isinstance(image, np.ndarray):
|
184 |
image = Image.fromarray(image)
|
185 |
|
186 |
+
dogs = await detect_multiple_dogs(image, conf_threshold=0.15, iou_threshold=0.3)
|
187 |
|
188 |
if len(dogs) <= 1:
|
189 |
return await process_single_dog(image)
|