From 9fb789695e71a9f42703ab790090715f7505b33d Mon Sep 17 00:00:00 2001 From: Yuta Hayashibe Date: Sun, 2 Oct 2022 22:22:11 +0900 Subject: [PATCH] Fix --- whispering/transcriber.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/whispering/transcriber.py b/whispering/transcriber.py index 701c505..7753413 100644 --- a/whispering/transcriber.py +++ b/whispering/transcriber.py @@ -234,7 +234,7 @@ class WhisperStreamingTranscriber: ) -> Iterator[ParsedChunk]: logger.debug(f"{len(audio)}") - if not ctx.vad: + if ctx.vad: x = [ v for v in self.vad(