-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
运行examples/api下的实例时,提示ModuleNotFoundError: No module named 'tools.audio' #820
Comments
应该是你启动方式的问题。 |
pip uninstall tools |
控制台输出: Traceback (most recent call last): 尝试 pip uninstall tools & pip install tools ,出同样的提示,未能解决问题。 目前用Jianchang512的ChatTTS-ui覆盖并装入ffmpeg后,用其根目录的app.py启动webui,但这不是长久之计。 |
想问一下具体如何操作的 |
原本我单独部署Chat-TTS的时候就出现了这个问题, 另外,我操作的环境在Windows下。 |
按照exaplmes/api/readme操作,操作步骤
1、clone git代码
2、安装依赖
进入Chattts目录,执行命令
pip install -r examples/api/requirements.txt
3、启动服务
fastapi dev examples/api/main.py --host 0.0.0.0 --port 8000
控制台报错:
ModuleNotFoundError: No module named 'tools.audio'
感觉错误原因是tools目录下的包并没有包含在ChatTTS的安装文件中,所有找不到。这个问题如何解决?
The text was updated successfully, but these errors were encountered: