csukuangfj commited on
Commit
89a8d65
·
1 Parent(s): 6fde111

lower vad threshold

Browse files
Files changed (1) hide show
  1. model.py +1 -1
model.py CHANGED
@@ -251,7 +251,7 @@ def get_vad() -> sherpa_onnx.VoiceActivityDetector:
251
 
252
  config = sherpa_onnx.VadModelConfig()
253
  config.silero_vad.model = vad_model
254
- config.silero_vad.threshold = 0.5
255
  config.silero_vad.min_silence_duration = 0.25
256
  config.silero_vad.min_speech_duration = 0.25
257
  config.sample_rate = sample_rate
 
251
 
252
  config = sherpa_onnx.VadModelConfig()
253
  config.silero_vad.model = vad_model
254
+ config.silero_vad.threshold = 0.3
255
  config.silero_vad.min_silence_duration = 0.25
256
  config.silero_vad.min_speech_duration = 0.25
257
  config.sample_rate = sample_rate