mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-04-29 10:07:41 +03:00
Formatting
This commit is contained in:
parent
223023ed42
commit
88b04190d8
@ -61,7 +61,7 @@ class GenAIObjectTriggerConfig(FrigateBaseModel):
|
|||||||
|
|
||||||
|
|
||||||
class GenAIObjectConfig(FrigateBaseModel):
|
class GenAIObjectConfig(FrigateBaseModel):
|
||||||
enabled: bool = Field(default=True, title="Enable GenAI for camera.")
|
enabled: bool = Field(default=False, title="Enable GenAI for camera.")
|
||||||
use_snapshot: bool = Field(
|
use_snapshot: bool = Field(
|
||||||
default=False, title="Use snapshots for generating descriptions."
|
default=False, title="Use snapshots for generating descriptions."
|
||||||
)
|
)
|
||||||
|
|||||||
@ -607,7 +607,9 @@ class FrigateConfig(FrigateBaseModel):
|
|||||||
camera_config.review.detections.enabled_in_config = (
|
camera_config.review.detections.enabled_in_config = (
|
||||||
camera_config.review.detections.enabled
|
camera_config.review.detections.enabled
|
||||||
)
|
)
|
||||||
camera_config.objects.genai.enabled_in_config = camera_config.objects.genai.enabled
|
camera_config.objects.genai.enabled_in_config = (
|
||||||
|
camera_config.objects.genai.enabled
|
||||||
|
)
|
||||||
|
|
||||||
# Add default filters
|
# Add default filters
|
||||||
object_keys = camera_config.objects.track
|
object_keys = camera_config.objects.track
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user