DawnC commited on
Commit
d4683ab
·
1 Parent(s): fde4447

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -265,7 +265,7 @@ async def predict(image):
265
  buttons_html = ""
266
  top1_prob, topk_breeds, topk_probs_percent = await predict_single_dog(cropped_image)
267
  color = color_list[i % len(color_list)]
268
- draw.rectangle(box, outline=color,, width=3)
269
  draw.text((box[0] + 5, box[1] + 5) f"Dog {i+1}", fill=color, font=font)
270
 
271
  combined_confidence = detection_confidence * top1_prob
 
265
  buttons_html = ""
266
  top1_prob, topk_breeds, topk_probs_percent = await predict_single_dog(cropped_image)
267
  color = color_list[i % len(color_list)]
268
+ draw.rectangle(box, outline=color, width=3)
269
  draw.text((box[0] + 5, box[1] + 5) f"Dog {i+1}", fill=color, font=font)
270
 
271
  combined_confidence = detection_confidence * top1_prob