From ec625e02305927a5a5a2b131c6d9e9e9547728a5 Mon Sep 17 00:00:00 2001 From: Josh Hawkins <32435876+hawkeye217@users.noreply.github.com> Date: Wed, 25 Sep 2024 10:33:20 -0500 Subject: [PATCH] object list --- frigate/config.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/frigate/config.py b/frigate/config.py index a621c478f..81c5fa6e4 100644 --- a/frigate/config.py +++ b/frigate/config.py @@ -810,8 +810,9 @@ class GenAICameraConfig(BaseModel): title="Default caption prompt.", ) object_prompts: Dict[str, str] = Field(default={}, title="Object specific prompts.") - objects: Dict[str, int] = Field( - default_factory=dict, title="Objects to run generative AI for." + objects: Union[str, List[str]] = Field( + default_factory=list, + title="List of objects to run generative AI for.", ) required_zones: Union[str, List[str]] = Field( default_factory=list,