Skip to content

Commit

Permalink
download nos-TTS voices
Browse files Browse the repository at this point in the history
  • Loading branch information
JarbasAl committed Feb 27, 2025
1 parent 8319d70 commit 420a0ce
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions build_raspOVOS_gl.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,16 @@ wget https://alphacephei.com/vosk/models/vosk-model-small-pt-0.3.zip -P $VOSK_DI
unzip -o $VOSK_DIR/vosk-model-small-pt-0.3.zip -d $VOSK_DIR
rm $VOSK_DIR/vosk-model-small-pt-0.3.zip

# TODO local cotovia / nos
uv pip install --no-progress ovos-tts-plugin-cotovia ovos-tts-plugin-cotovia-remote -c $CONSTRAINTS
echo "Downloading NOS TTS voices..."
mkdir -p /home/$USER/.local/share/nos_tts_models/sabela
wget https://huggingface.co/Jarbas/proxectonos-sabela-vits-phonemes-onnx/resolve/main/config.json /home/$USER/.local/share/nos_tts_models/sabela/config.json
wget https://huggingface.co/Jarbas/proxectonos-sabela-vits-phonemes-onnx/resolve/main/model.onnx /home/$USER/.local/share/nos_tts_models/sabela/model.onnx
mkdir -p /home/$USER/.local/share/nos_tts_models/celtia
wget https://huggingface.co/Jarbas/proxectonos-celtia-vits-graphemes-onnx/resolve/main/model.onnx /home/$USER/.local/share/nos_tts_models/celtia/model.onnx
wget https://huggingface.co/Jarbas/proxectonos-celtia-vits-graphemes-onnx/resolve/main/config.json /home/$USER/.local/share/nos_tts_models/celtia/config.json

# TODO local cotovia binary
uv pip install --no-progress ovos-tts-plugin-cotovia ovos-tts-plugin-nos ovos-tts-plugin-cotovia-remote -c $CONSTRAINTS

echo "Ensuring permissions for $USER user..."
# Replace 1000:1000 with the correct UID:GID if needed
Expand Down

0 comments on commit 420a0ce

Please sign in to comment.