Update api.py

This commit is contained in:
XXXXRT666 2024-03-20 19:44:23 +00:00 committed by GitHub
parent fa235308c9
commit e0082d7720
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

1
api.py
View File

@ -402,7 +402,6 @@ def get_tts_wav(ref_wav_path, prompt_text, prompt_language, text, text_language)
t2 = ttime()
with torch.no_grad():
# pred_semantic = t2s_model.model.infer(
print("-"*30)
pred_semantic, idx = t2s_model.model.infer_panel(
all_phoneme_ids,
all_phoneme_len,