Configuration Parsing Warning:Invalid JSON for config file config.json
- 下载源代码
git clone https://github.com/hgneng/TTS
- 确认Python版本
python -V
如果不满足python >= 3.9, < 3.12,请使用conda安装符合条件的Python环境
- 安装Python依赖库
cd TTS
pip install -e .[all,dev]
- 下载粤语模型
cd ..
git clone https://huggingface.co/hgneng/coqui-cantonese-model
- 合成示例
cd coqui-cantonese-model
tts --model_path . --config_path config.json --language_idx yue --out_path demo.wav --speaker_wav ./speaker.wav --text "呢个系一个粤语语音合成示例"
- Downloads last month
- 20