mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-08-04 18:08:50 +03:00
ensure metrics are initialized if genai is enabled
This commit is contained in:
@@ -100,6 +100,10 @@ class FrigateApp:
|
|||||||
)
|
)
|
||||||
if (
|
if (
|
||||||
config.semantic_search.enabled
|
config.semantic_search.enabled
|
||||||
|
or any(
|
||||||
|
c.objects.genai.enabled or c.review.genai.enabled
|
||||||
|
for c in config.cameras.values()
|
||||||
|
)
|
||||||
or config.lpr.enabled
|
or config.lpr.enabled
|
||||||
or config.face_recognition.enabled
|
or config.face_recognition.enabled
|
||||||
or len(config.classification.custom) > 0
|
or len(config.classification.custom) > 0
|
||||||
|
|||||||
Reference in New Issue
Block a user