python=3.10 pip install -r 正常 pip install nemo_tools 正常
代码 ‘’‘ import ChatTTS import soundfile as sf
chat = ChatTTS.Chat() chat.load_models() texts = ["你好",] wavs = chat.infer(texts, use_decoder=True) sf.write(r"D:\Desktop\chattts.wav", wavs[0][0], 24000) ’‘’
报错内容
‘’‘
Traceback (most recent call last):
File "/Users/user/Downloads/ChatTTS/import ChatTTS.py", line 7, in