2noise / ChatTTS

A generative speech model for daily dialogue.
https://2noise.com
GNU Affero General Public License v3.0
31.21k stars 3.39k forks source link

NameError: name 'chat' is not defined #131

Closed tiandaoyuxi closed 2 months ago

tiandaoyuxi commented 4 months ago

(venv) D:\ChatTTS>python test_a.py Traceback (most recent call last): File "D:\ChatTTS\test_a.py", line 23, in wav = chat.infer("<我是一段真人语音测试,认识大家很高兴!>", params_refine_text=params_refine_text, params_infer_code=params_infer_code) ^^^^ NameError: name 'chat' is not defined

Ethenlalala commented 4 months ago

(venv) D:\ChatTTS>python test_a.py Traceback (most recent call last): File "D:\ChatTTS\test_a.py", line 23, in wav = chat.infer("<我是一段真人语音测试,认识大家很高兴!>", params_refine_text=params_refine_text, params_infer_code=params_infer_code) ^^^^ NameError: name 'chat' is not defined

报错意思chat没有被定义,你写脚本的时候漏了几行吧。。。

github-actions[bot] commented 2 months ago

This issue was closed because it has been inactive for 15 days since being marked as stale.