Skip to content

Commit

Permalink
二次修正
Browse files Browse the repository at this point in the history
  • Loading branch information
Stardust-minus authored Oct 4, 2023
1 parent ae55007 commit 0e07a9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webui.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ def get_text(text, language_str, hps):
if language_str == "ZH":
bert = bert
ja_bert = torch.zeros(768, len(phone))
elif language_str == "JA":
elif language_str == "JP":
ja_bert = bert
bert = torch.zeros(1024, len(phone))
else:
Expand Down

0 comments on commit 0e07a9c

Please sign in to comment.