mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-04-30 18:47:40 +03:00
Always start the embeddings process
This commit is contained in:
parent
44bc730192
commit
5a1a7441aa
@ -246,18 +246,7 @@ class FrigateApp:
|
|||||||
logger.info(f"Review process started: {review_segment_process.pid}")
|
logger.info(f"Review process started: {review_segment_process.pid}")
|
||||||
|
|
||||||
def init_embeddings_manager(self) -> None:
|
def init_embeddings_manager(self) -> None:
|
||||||
genai_cameras = [
|
# always start the embeddings process
|
||||||
c for c in self.config.cameras.values() if c.enabled and c.genai.enabled
|
|
||||||
]
|
|
||||||
|
|
||||||
if (
|
|
||||||
not self.config.semantic_search.enabled
|
|
||||||
and not genai_cameras
|
|
||||||
and not self.config.lpr.enabled
|
|
||||||
and not self.config.face_recognition.enabled
|
|
||||||
):
|
|
||||||
return
|
|
||||||
|
|
||||||
embedding_process = EmbeddingProcess(
|
embedding_process = EmbeddingProcess(
|
||||||
self.config, self.embeddings_metrics, self.stop_event
|
self.config, self.embeddings_metrics, self.stop_event
|
||||||
)
|
)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user