diff --git a/setup_x11_jarvis.sh b/setup_x11_jarvis.sh index 47739d3..df16382 100755 --- a/setup_x11_jarvis.sh +++ b/setup_x11_jarvis.sh @@ -100,6 +100,29 @@ if [ ! -d "$JARVIS_DIR/venv" ]; then "$JARVIS_DIR/venv/bin/pip" install -r requirements.txt fi +#################################### +# Voice setup +#################################### + +# Modell herunterladen +wget https://alphacephei.com/vosk/models/vosk-model-small-de-0.15.zip +# Entpacken +unzip vosk-model-small-de-0.15.zip +# Ordner umbenennen, damit das Skript ihn leicht findet +mv vosk-model-small-de-0.15 model +rm vosk-model-small-de-0.15.zip + +# Piper installieren +wget https://github.com/rhasspy/piper/releases/download/v1.2.0/piper_amd64.tar.gz +tar -xf piper_amd64.tar.gz +rm piper_amd64.tar.gz + +# Das eigentliche Sprachmodell (.onnx) +wget https://huggingface.co/rhasspy/piper-voices/resolve/main/de/de_DE/thorsten/high/de_DE-thorsten-high.onnx + +# Die dazugehörige Konfigurationsdatei (.json) +wget https://huggingface.co/rhasspy/piper-voices/resolve/main/de/de_DE/thorsten/high/de_DE-thorsten-high.onnx.json + echo "====================================================" echo "✅ X11 Openbox-Umgebung erfolgreich eingerichtet!" echo "👉 Starte die grafische Oberfläche einfach mit dem Befehl: startx"