mirror of
https://github.com/shirayu/whispering.git
synced 2024-11-25 18:31:00 +00:00
Fix language in DecodingOptions
This commit is contained in:
parent
38006d8257
commit
9cd80ab047
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue