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:
jsoncode
2023-11-26 17:00:37 +08:00
committed by GitHub
parent 11e3b16357
commit 15babcd739

View File

@@ -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:]