Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -57,6 +57,7 @@ def yolov8_inference(
|
|
57 |
# )
|
58 |
|
59 |
label_annotator = sv.LabelAnnotator(text_color=sv.Color.BLACK,
|
|
|
60 |
text_scale=anchor/1700)
|
61 |
annotated_image = label_annotator.annotate(
|
62 |
annotated_image,
|
|
|
57 |
# )
|
58 |
|
59 |
label_annotator = sv.LabelAnnotator(text_color=sv.Color.BLACK,
|
60 |
+
text_position=sv.Position.CENTER,
|
61 |
text_scale=anchor/1700)
|
62 |
annotated_image = label_annotator.annotate(
|
63 |
annotated_image,
|