Skip to content

Commit

Permalink
Fix localization bug
Browse files Browse the repository at this point in the history
  • Loading branch information
jhj0517 committed Oct 20, 2024
1 parent f7e3728 commit 84fd983
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/whisper/whisper_parameter.py
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@ def to_yaml(self) -> Dict:
data = {
"whisper": {
"model_size": self.model_size,
"lang": AUTOMATIC_DETECTION if self.lang is None else self.lang,
"lang": AUTOMATIC_DETECTION.unwrap() if self.lang is None else self.lang,
"is_translate": self.is_translate,
"beam_size": self.beam_size,
"log_prob_threshold": self.log_prob_threshold,
Expand Down

0 comments on commit 84fd983

Please sign in to comment.