Configuration Parsing Warning:Invalid JSON for config file config.json

  1. 下载源代码
git clone https://github.com/hgneng/TTS
  1. 确认Python版本
python -V

如果不满足python >= 3.9, < 3.12,请使用conda安装符合条件的Python环境

  1. 安装Python依赖库
cd TTS
pip install -e .[all,dev]
  1. 下载粤语模型
cd ..
git clone https://huggingface.co/hgneng/coqui-cantonese-model
  1. 合成示例
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
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support