DawnC commited on
Commit
4de47b1
1 Parent(s): a34057c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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.4, iou_threshold=0.4)
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)