mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-15 07:35:27 +03:00
catch case when semantic search is disabled
This commit is contained in:
parent
96795200f7
commit
d7df5c9068
@ -279,6 +279,8 @@ class FrigateApp:
|
||||
if self.config.semantic_search.enabled:
|
||||
# Create a client for other processes to use
|
||||
self.embeddings = EmbeddingsContext(self.db)
|
||||
else:
|
||||
self.embeddings = None
|
||||
|
||||
def init_external_event_processor(self) -> None:
|
||||
self.external_event_processor = ExternalEventProcessor(self.config)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user