Closed shadowzz624 closed 5 months ago
0.5版本独立运行正常,0.6整合包或者升级包覆盖都出现这个问题。WEB UI正常,问题只出现在API中,WINDOWS 11系统
需要更新加载模型的参数为:chat.load_models(source="custom", custom_path="ChatTTS", compile=False)
问题解决,感谢
更新了官方的包 但是参数没有更新 已修正 99568b826b5f36134e61d6e153cca2ce121d3802
INFO:ChatTTS.utils.download:checking assets... Traceback (most recent call last): File "C:\AI\ChatTTS_colab(3)\ChatTTS_colab_offline-0.0.6\ChatTTS_colab_offline\api.py", line 357, in
chat.load_models(source="local", local_path="models")
File "C:\AI\ChatTTS_colab(3)\ChatTTS_colab_offline-0.0.6\ChatTTS_colab_offline\ChatTTS\core.py", line 62, in load_models
if not check_all_assets(update=True):
File "C:\AI\ChatTTS_colab(3)\ChatTTS_colab_offline-0.0.6\ChatTTS_colab_offline\ChatTTS\utils\download.py", line 63, in check_all_assets
current_dir, model, os.environ[f"sha256asset{menv}"], update
File "C:\AI\ChatTTS_colab(3)\ChatTTS_colab_offline-0.0.6\ChatTTS_colab_offline\runtime\lib\os.py", line 679, in getitem
raise KeyError(key) from None
KeyError: 'sha256_asset_Decoder_pt'