From ad58ba26ab8b3d871b8d4f9962cf8a669c3d41c1 Mon Sep 17 00:00:00 2001 From: kh Date: Fri, 16 Jun 2023 14:37:45 +0900 Subject: [PATCH] Fix typo (#304) https://github.com/snakers4/silero-vad/discussions/319#discussion-5081706 --- faster_whisper/vad.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/faster_whisper/vad.py b/faster_whisper/vad.py index a937812..487dfa0 100644 --- a/faster_whisper/vad.py +++ b/faster_whisper/vad.py @@ -21,7 +21,7 @@ class VadOptions(NamedTuple): min_speech_duration_ms: Final speech chunks shorter min_speech_duration_ms are thrown out. max_speech_duration_s: Maximum duration of speech chunks in seconds. Chunks longer than max_speech_duration_s will be split at the timestamp of the last silence that - lasts more than 100s (if any), to prevent aggressive cutting. Otherwise, they will be + lasts more than 100ms (if any), to prevent aggressive cutting. Otherwise, they will be split aggressively just before max_speech_duration_s. min_silence_duration_ms: In the end of each speech chunk wait for min_silence_duration_ms before separating it