mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-08-07 03:11:15 +03:00
Add basic camera settings to UI for testing (#18690)
* add basic camera add/edit pane to the UI for testing * only init model runner if transcription is enabled globally * fix role checkboxes
This commit is contained in:
committed by
Blake Blackshear
parent
1caf8b97c4
commit
a6b80c0f9c
@@ -91,12 +91,7 @@ class AudioProcessor(util.Process):
|
||||
self.cameras = cameras
|
||||
self.config = config
|
||||
|
||||
if any(
|
||||
[
|
||||
conf.audio_transcription.enabled_in_config == True
|
||||
for conf in config.cameras.values()
|
||||
]
|
||||
):
|
||||
if self.config.audio_transcription.enabled:
|
||||
self.transcription_model_runner = AudioTranscriptionModelRunner(
|
||||
self.config.audio_transcription.device,
|
||||
self.config.audio_transcription.model_size,
|
||||
|
||||
Reference in New Issue
Block a user