Increase the default value of speech_pad_ms to 400 ms (#179)

This commit is contained in:
Guillaume Klein
2023-04-25 15:54:22 +02:00
committed by GitHub
parent 32dc625f11
commit 8cf5d5a4b3
2 changed files with 2 additions and 2 deletions

View File

@@ -32,7 +32,7 @@ def test_vad(jfk_path):
segments, _ = model.transcribe(
jfk_path,
vad_filter=True,
vad_parameters=dict(min_silence_duration_ms=500),
vad_parameters=dict(min_silence_duration_ms=500, speech_pad_ms=200),
)
segments = list(segments)