Skip to content

Commit

Permalink
Update lib.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
TechDecryptor authored Oct 13, 2023
1 parent daa64e4 commit a36c019
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ pub fn tts(
let url = "https://translate.volcengine.com/crx/tts/v1/";

let speaker = match needs.get(&format!("{lang}-speaker")) {
Some(speaker) => speaker,
Some(speaker) => speaker.to_string(),
None => match lang {
"zh_cn" => "zh_male_xiaoming".to_string(),
"zh_tw" => "zh_male_xiaoming".to_string(),
Expand Down

0 comments on commit a36c019

Please sign in to comment.