Fedir Zadniprovskyi commited on
Commit
a5c143c
·
1 Parent(s): 937af67

chore: update inactivity defaults

Browse files
Files changed (1) hide show
  1. faster_whisper_server/config.py +2 -2
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 = 2.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 = 3.0
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()