Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -116,7 +116,7 @@ def draw_predictions(boxes, labels, scores, img, score_threshold=0.5, font_size=
|
|
| 116 |
labels=[f"{name} {score:.2f}" for name, score in zip(label_names, scores_filtered)],
|
| 117 |
colors=colors,
|
| 118 |
width=5,
|
| 119 |
-
font_size=
|
| 120 |
font="arial.ttf",
|
| 121 |
)
|
| 122 |
imgs_list.append(img_bbox.permute(1, 2, 0).numpy())
|
|
|
|
| 116 |
labels=[f"{name} {score:.2f}" for name, score in zip(label_names, scores_filtered)],
|
| 117 |
colors=colors,
|
| 118 |
width=5,
|
| 119 |
+
font_size=20,
|
| 120 |
font="arial.ttf",
|
| 121 |
)
|
| 122 |
imgs_list.append(img_bbox.permute(1, 2, 0).numpy())
|