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