Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -288,7 +288,6 @@ async def predict(image):
|
|
288 |
top1_prob, topk_breeds, topk_probs_percent = await predict_single_dog(cropped_image)
|
289 |
color = color_list[i % len(color_list)]
|
290 |
draw.rectangle(box, outline=color, width=3)
|
291 |
-
#draw.text((box[0], box[1]), f"Dog {i+1}", fill=color, font=font)
|
292 |
draw.text((box[0] + 5, box[1] + 5), f"Dog {i+1}", fill=color, font=font)
|
293 |
|
294 |
|
|
|
288 |
top1_prob, topk_breeds, topk_probs_percent = await predict_single_dog(cropped_image)
|
289 |
color = color_list[i % len(color_list)]
|
290 |
draw.rectangle(box, outline=color, width=3)
|
|
|
291 |
draw.text((box[0] + 5, box[1] + 5), f"Dog {i+1}", fill=color, font=font)
|
292 |
|
293 |
|