mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-07-15 00:11:15 +03:00
Cleanup
This commit is contained in:
parent
a613062c8f
commit
5868d2003b
@ -202,9 +202,7 @@ class EmbeddingMaintainer(threading.Thread):
|
|||||||
# post processors
|
# post processors
|
||||||
self.post_processors: list[PostProcessorApi] = []
|
self.post_processors: list[PostProcessorApi] = []
|
||||||
|
|
||||||
if any(
|
if any(c.review.genai.enabled_in_config for c in self.config.cameras.values()):
|
||||||
c.review.genai.enabled_in_config for c in self.config.cameras.values()
|
|
||||||
):
|
|
||||||
self.post_processors.append(
|
self.post_processors.append(
|
||||||
ReviewDescriptionProcessor(
|
ReviewDescriptionProcessor(
|
||||||
self.config,
|
self.config,
|
||||||
@ -248,9 +246,7 @@ class EmbeddingMaintainer(threading.Thread):
|
|||||||
)
|
)
|
||||||
self.post_processors.append(semantic_trigger_processor)
|
self.post_processors.append(semantic_trigger_processor)
|
||||||
|
|
||||||
if any(
|
if any(c.objects.genai.enabled_in_config for c in self.config.cameras.values()):
|
||||||
c.objects.genai.enabled_in_config for c in self.config.cameras.values()
|
|
||||||
):
|
|
||||||
self.post_processors.append(
|
self.post_processors.append(
|
||||||
ObjectDescriptionProcessor(
|
ObjectDescriptionProcessor(
|
||||||
self.config,
|
self.config,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user