forked from Github/frigate
Refactor AudioTfl class to accept the number of detection threads as a parameter in the constructor, and update the usage of the num_threads attribute accordingly (#7588)
This commit is contained in:
committed by
GitHub
parent
7c629c1874
commit
731743c7e5
@@ -444,6 +444,7 @@ class AudioConfig(FrigateBaseModel):
|
||||
enabled_in_config: Optional[bool] = Field(
|
||||
title="Keep track of original state of audio detection."
|
||||
)
|
||||
num_threads: int = Field(default=2, title="Number of detection threads", ge=1)
|
||||
|
||||
|
||||
class BirdseyeModeEnum(str, Enum):
|
||||
|
||||
Reference in New Issue
Block a user