6drf21e / ChatTTS_colab

🚀 一键部署(含离线整合包)!基于 ChatTTS ,支持流式输出、音色抽卡、长音频生成和分角色朗读。简单易用,无需复杂安装。
2.13k stars 267 forks source link

0.6增量包升级0.5API启动出现 sha256_asset_Decoder_pt #57

Closed shadowzz624 closed 5 months ago

shadowzz624 commented 5 months ago

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'

shadowzz624 commented 5 months ago

0.5版本独立运行正常,0.6整合包或者升级包覆盖都出现这个问题。WEB UI正常,问题只出现在API中,WINDOWS 11系统

yuanmaitian commented 5 months ago

需要更新加载模型的参数为:chat.load_models(source="custom", custom_path="ChatTTS", compile=False)

shadowzz624 commented 5 months ago

问题解决,感谢

6drf21e commented 5 months ago

更新了官方的包 但是参数没有更新 已修正 99568b826b5f36134e61d6e153cca2ce121d3802