From 24218b27b44dced7320238f4bf0c115f1ff3ebb8 Mon Sep 17 00:00:00 2001 From: XXXXRT666 <157766680+XXXXRT666@users.noreply.github.com> Date: Wed, 20 Mar 2024 20:07:18 +0000 Subject: [PATCH] Update api.py --- api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api.py b/api.py index 5b8120d7..f94de103 100644 --- a/api.py +++ b/api.py @@ -411,7 +411,7 @@ def get_tts_wav(ref_wav_path, prompt_text, prompt_language, text, text_language) top_k=config['inference']['top_k'], early_stop_num=hz * max_sec) t3 = ttime() - # print(pred_semantic[:,]) + # print(pred_semantic.shape,idx) if isinstance(pred_semantic, list) and isinstance(pred_semantic, list): pred_semantic = pred_semantic[0] idx=idx[0]