This commit is contained in:
Yuta Hayashibe 2022-10-02 22:22:11 +09:00
parent 8d32e607df
commit 9fb789695e

View file

@ -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(