Remove titlecase to avoid Gemma4 handling plain labels as proper nouns

This commit is contained in:
Nicolas Mowen 2026-04-06 11:02:28 -06:00
parent b956d942a1
commit eb68a9978d

View File

@ -556,7 +556,7 @@ def run_analysis(
if "-verified" in label:
continue
elif label in labelmap_objects:
object_type = titlecase(label.replace("_", " "))
object_type = label.replace("_", " ")
if label in attribute_labels:
unified_objects.append(f"{object_type} (delivery/service)")