21 lines
655 B
Markdown
21 lines
655 B
Markdown
# Emotion Museum TTS Service
|
|
|
|
Install on `101.200.208.45`:
|
|
|
|
```bash
|
|
cd /data/programs/emotion-museum/tts-service
|
|
python3.11 -m venv .venv
|
|
. .venv/bin/activate
|
|
pip install -r requirements.txt
|
|
|
|
mkdir -p models
|
|
curl -L -o models/zh_CN-huayan-medium.onnx \
|
|
https://hf-mirror.com/rhasspy/piper-voices/resolve/v1.0.0/zh/zh_CN/huayan/medium/zh_CN-huayan-medium.onnx
|
|
curl -L -o models/zh_CN-huayan-medium.onnx.json \
|
|
https://hf-mirror.com/rhasspy/piper-voices/resolve/v1.0.0/zh/zh_CN/huayan/medium/zh_CN-huayan-medium.onnx.json
|
|
|
|
cd /data/programs/emotion-museum/tts-service
|
|
uvicorn app:app --host 127.0.0.1 --port 19110
|
|
curl http://127.0.0.1:19110/health
|
|
```
|