Skip to content

Commit

Permalink
Update infer.py (#197)
Browse files Browse the repository at this point in the history
  • Loading branch information
OedoSoldier authored Nov 27, 2023
1 parent 122afe0 commit 818b3b1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions infer.py
Original file line number Diff line number Diff line change
Expand Up @@ -274,11 +274,10 @@ def infer_multilang(
temp_bert,
temp_ja_bert,
temp_en_bert,
emo,
temp_phones,
temp_tones,
temp_lang_ids,
) = get_text(txt, reference_audio, emotion, lang, hps, device)
) = get_text(txt, lang, hps, device)
if skip_start:
temp_bert = temp_bert[:, 1:]
temp_ja_bert = temp_ja_bert[:, 1:]
Expand Down

0 comments on commit 818b3b1

Please sign in to comment.