Spaces:
Configuration error
Configuration error
Fedir Zadniprovskyi
commited on
Commit
·
a5c143c
1
Parent(s):
937af67
chore: update inactivity defaults
Browse files
faster_whisper_server/config.py
CHANGED
@@ -192,12 +192,12 @@ class Config(BaseSettings):
|
|
192 |
"""
|
193 |
Max allowed audio duration without any speech being detected before transcription is finilized and connection is closed.
|
194 |
"""
|
195 |
-
max_inactivity_seconds: float =
|
196 |
"""
|
197 |
Controls how many latest seconds of audio are being passed through VAD.
|
198 |
Should be greater than `max_inactivity_seconds`
|
199 |
"""
|
200 |
-
inactivity_window_seconds: float =
|
201 |
|
202 |
|
203 |
config = Config()
|
|
|
192 |
"""
|
193 |
Max allowed audio duration without any speech being detected before transcription is finilized and connection is closed.
|
194 |
"""
|
195 |
+
max_inactivity_seconds: float = 5.0
|
196 |
"""
|
197 |
Controls how many latest seconds of audio are being passed through VAD.
|
198 |
Should be greater than `max_inactivity_seconds`
|
199 |
"""
|
200 |
+
inactivity_window_seconds: float = 10.0
|
201 |
|
202 |
|
203 |
config = Config()
|