From 9cd80ab047da8937528885c75630de64d6d2f544 Mon Sep 17 00:00:00 2001 From: Yuta Hayashibe Date: Sat, 24 Sep 2022 09:42:10 +0900 Subject: [PATCH] Fix language in DecodingOptions --- whisper_streaming/transcriber.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/whisper_streaming/transcriber.py b/whisper_streaming/transcriber.py index 696cf10..c2d3968 100644 --- a/whisper_streaming/transcriber.py +++ b/whisper_streaming/transcriber.py @@ -67,7 +67,7 @@ class WhisperStreamingTranscriber: ) -> DecodingOptions: return DecodingOptions( task="transcribe", - language=None, + language=self.config.language, temperature=t, sample_len=None, best_of=best_of,