String formatting improvements (#33653)

This commit is contained in:
Franck Nijhof authored and GitHub committed 2020-04-04 21:39:22 +02:00
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],