diff --git a/configure_env.sh b/configure_env.sh index 41bd2c9..3a5b7f0 100755 --- a/configure_env.sh +++ b/configure_env.sh @@ -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/ \ No newline at end of file diff --git a/download_complete_model.sh b/download_complete_model.sh new file mode 100755 index 0000000..d059fc4 --- /dev/null +++ b/download_complete_model.sh @@ -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 \ No newline at end of file diff --git a/settings.yml b/settings.yml index 477cc96..fe79d01 100644 --- a/settings.yml +++ b/settings.yml @@ -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 # ---------------------------