mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-11-16 10:33:00 +03:00
Remove titlecase to avoid Gemma4 handling plain labels as proper nouns
This commit is contained in:
@@ -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)")
|
||||
|
||||
Reference in New Issue
Block a user