Fix language in DecodingOptions

This commit is contained in:
Yuta Hayashibe 2022-09-24 09:42:10 +09:00
parent 38006d8257
commit 9cd80ab047

View file

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