mirror of
https://github.com/shirayu/whispering.git
synced 2024-11-22 17:01:03 +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:
|
) -> DecodingOptions:
|
||||||
return DecodingOptions(
|
return DecodingOptions(
|
||||||
task="transcribe",
|
task="transcribe",
|
||||||
language=None,
|
language=self.config.language,
|
||||||
temperature=t,
|
temperature=t,
|
||||||
sample_len=None,
|
sample_len=None,
|
||||||
best_of=best_of,
|
best_of=best_of,
|
||||||
|
|
Loading…
Reference in a new issue