fix: Fix wrong reference of function name: change ref to reference_audio (#194)
* fix: Fix wrong reference of function name: change ref to reference_audio * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
This commit is contained in:
2
infer.py
2
infer.py
@@ -276,7 +276,7 @@ def infer_multilang(
|
||||
temp_phones,
|
||||
temp_tones,
|
||||
temp_lang_ids,
|
||||
) = get_text(txt, ref, emotion, language, hps, device)
|
||||
) = get_text(txt, reference_audio, emotion, language, hps, device)
|
||||
if skip_start:
|
||||
temp_bert = temp_bert[:, 1:]
|
||||
temp_ja_bert = temp_ja_bert[:, 1:]
|
||||
|
||||
Reference in New Issue
Block a user