DawnC commited on
Commit
49488f0
1 Parent(s): 490ef3a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -304,7 +304,7 @@ async def predict(image):
304
  if isinstance(image, np.ndarray):
305
  image = Image.fromarray(image)
306
 
307
- dogs = await detect_multiple_dogs(image, conf_threshold=0.3, iou_threshold=0.5)
308
 
309
  if len(dogs) <= 1:
310
  return await process_single_dog(image)
 
304
  if isinstance(image, np.ndarray):
305
  image = Image.fromarray(image)
306
 
307
+ dogs = await detect_multiple_dogs(image, conf_threshold=0.25, iou_threshold=0.4)
308
 
309
  if len(dogs) <= 1:
310
  return await process_single_dog(image)