赞
踩
参考:https://blog.csdn.net/weixin_42357472/article/details/140213547
## 运行进入容器
docker run -it --gpus '"device=1"' -p 50000:50000 lucferreira/cosyvoice:v1.0 /bin/bash
##再命令行运行服务,会在线下载模型
cd CosyVoice
export PYTHONPATH=third_party/Matcha-TTS
python3 api.py
代码:
api.py (文件放在/opt/CosyVoice/CosyVoice下面)
<
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。