TTS-OPENAI-FREE / download_voices_tts-1.sh
imseldrith's picture
Upload folder using huggingface_hub (#2)
2a8b06e verified
raw
history blame contribute delete
328 Bytes
#!/bin/sh
models=${*:-"en_GB-northern_english_male-medium en_US-libritts_r-medium"} # en_US-ryan-high
piper --update-voices --data-dir voices --download-dir voices --model x 2> /dev/null
for i in $models ; do
[ ! -e "voices/$i.onnx" ] && piper --data-dir voices --download-dir voices --model $i < /dev/null > /dev/null
done