1
0
Fork 0
This commit is contained in:
Florian RICHER 2022-04-30 18:20:49 +02:00
parent 8075bbe5ec
commit d753d98637
3 changed files with 8 additions and 4 deletions

View file

@ -6,7 +6,5 @@ export PYENV_ROOT="$HOME/.pyenv"
export PATH="$PYENV_ROOT/bin:$PATH"
eval "$(pyenv init --path)"
pip install kalliope
kalliope install --git-url https://github.com/veka-server/kalliope-vosk.git
# wget https://alphacephei.com/vosk/models/vosk-model-fr-0.22.zip
unzip -j vosk-model-fr-0.22.zip -d resources/stt/vosk/model-fr-full/
kalliope install --git-url https://github.com/mrdev023/kalliope-vosk.git
# cp /usr/lib/python3.10/site-packages/snowboy/_snowboydetect.so $HOME/.pyenv/versions/3.9.11/lib/python3.9/site-packages/kalliope/trigger/snowboy/$(uname -m)/python39/

6
download_complete_model.sh Executable file
View file

@ -0,0 +1,6 @@
#!/bin/bash
wget https://alphacephei.com/vosk/models/vosk-model-fr-0.22.zip
unzip vosk-model-fr-0.22.zip -d resources/stt/vosk/
mv resources/stt/vosk/vosk-model-fr-0.22 resources/stt/vosk/model-fr-full/
rm vosk-model-fr-0.22.zip

View file

@ -48,7 +48,7 @@ speech_to_text:
client_id: "fakeclientid" # example : "lN4JXeaSticbSo9-llczbA=="
- vosk:
log-level: -1
language: "resources/stt/vosk/model-fr"
language: "resources/stt/vosk/model-fr-full"
#- cmusphinx
# ---------------------------