String formatting improvements (#33653)
This commit is contained in:
1 parent
ed71683488
commit
886308a953
15 files changed
+21
-24
No files matched your search
@@ -258,7 +258,7 @@ class TensorFlowImageProcessor(ImageProcessingEntity):
|
||||
1,
|
||||
1,
|
||||
]:
|
||||
label = "{} Detection Area".format(category.capitalize())
|
||||
label = f"{category.capitalize()} Detection Area"
|
||||
draw_box(
|
||||
draw,
|
||||
self._category_areas[category],
|
||||
|
||||
Reference in new issue
Block a user