vits-piper-en_US-libritts-high / vits-piper-en_US.sh
csukuangfj's picture
update
ceea97b
raw
history blame contribute delete
No virus
730 Bytes
#!/usr/bin/env bash
name=$NAME
echo "name: $name"
type=$TYPE
echo "type: $type"
set -ex
# for en_US-lessac-medium.onnx
# export TYPE=lessac
# export NAME=medium
wget -qq https://huggingface.co/rhasspy/piper-voices/resolve/main/en/en_US/$name/$type/en_US-$name-$type.onnx
wget -qq https://huggingface.co/rhasspy/piper-voices/resolve/main/en/en_US/$name/$type/en_US-$name-$type.onnx.json
wget -qq https://huggingface.co/rhasspy/piper-voices/resolve/main/en/en_US/$name/$type/MODEL_CARD
wget -qq https://github.com/k2-fsa/sherpa-onnx/releases/download/tts-models/espeak-ng-data.tar.bz2
tar xf espeak-ng-data.tar.bz2
rm espeak-ng-data.tar.bz2
pip install piper-phonemize onnx onnxruntime==1.16.0
python3 ./vits-piper-en_US.py