Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -114,7 +114,7 @@ def draw_predictions(boxes, labels, scores, img, score_threshold=0.5, font_size=
|
|
| 114 |
labels=[f"{name}: {score:.2f}" for name, score in zip(label_names, scores_filtered)],
|
| 115 |
colors=colors,
|
| 116 |
width=10,
|
| 117 |
-
font_size=
|
| 118 |
)
|
| 119 |
imgs_list.append(img_bbox.permute(1, 2, 0).numpy()) # convert to HWC for Gradio
|
| 120 |
|
|
|
|
| 114 |
labels=[f"{name}: {score:.2f}" for name, score in zip(label_names, scores_filtered)],
|
| 115 |
colors=colors,
|
| 116 |
width=10,
|
| 117 |
+
font_size=60
|
| 118 |
)
|
| 119 |
imgs_list.append(img_bbox.permute(1, 2, 0).numpy()) # convert to HWC for Gradio
|
| 120 |
|