jianchang512 / ChatTTS-ui

一个简单的本地网页界面,使用ChatTTS将文字合成为语音,同时支持对外提供API接口。A simple native web interface that uses ChatTTS to synthesize text into speech, along with support for external API interfaces.
https://pyvideotrans.com
Other
5.04k stars 549 forks source link

windows11运行报错 #79

Closed guozhenchang closed 4 weeks ago

guozhenchang commented 4 weeks ago

2024-06-04 16:33:51,375 - modelscope - INFO - Loading done! Current index file version is 1.14.0, with md5 1de6771b92411d1485eda0c258b9dc21 and a total number of 976 components indexed INFO:ChatTTS.core:Load from local: D:/chattts/chatTTS-ui/models/pzc163/chatTTS Traceback (most recent call last): File "D:\chattts\chatTTS-ui\app.py", line 38, in chat.load_models(source="local",local_path=CHATTTS_DIR, compile=True if os.getenv('compile','true').lower()!='false' else False) File "D:\chattts\chatTTS-ui\ChatTTS\core.py", line 62, in load_models self._load({k: os.path.join(download_path, v) for k, v in OmegaConf.load(os.path.join(download_path, 'config', 'path.yaml')).items()}, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\chattts\chatTTS-ui\venv\Lib\site-packages\omegaconf\omegaconf.py", line 189, in load with io.open(os.path.abspath(file_), "r", encoding="utf-8") as f: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ FileNotFoundError: [Errno 2] No such file or directory: 'D:\chattts\chatTTS-ui\models\pzc163\chatTTS\config\path.yaml'

xllxll commented 4 weeks ago

同报错

jianchang512 commented 4 weeks ago

80

guozhenchang commented 4 weeks ago

模型不完整,下载 https://www.modelscope.cn/models/pzc163/chatTTS 放到models解决了