forked from Github/frigate
Bug fixes (#14263)
* Simplify loitering logic * Fix divide by zero * Add device config for semantic search * Add docs
This commit is contained in:
@@ -276,7 +276,7 @@ class FrigateApp:
|
||||
def init_embeddings_client(self) -> None:
|
||||
if self.config.semantic_search.enabled:
|
||||
# Create a client for other processes to use
|
||||
self.embeddings = EmbeddingsContext(self.db)
|
||||
self.embeddings = EmbeddingsContext(self.config, self.db)
|
||||
|
||||
def init_external_event_processor(self) -> None:
|
||||
self.external_event_processor = ExternalEventProcessor(self.config)
|
||||
|
||||
Reference in New Issue
Block a user