mirror of
https://github.com/home-assistant/core.git
synced 2025-07-30 10:48:01 +02:00
String formatting improvements (#33653)
This commit is contained in:
@ -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