Closed tiandaoyuxi closed 2 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没有被定义,你写脚本的时候漏了几行吧。。。
This issue was closed because it has been inactive for 15 days since being marked as stale.
(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