Update
This commit is contained in:
parent
8075bbe5ec
commit
d753d98637
3 changed files with 8 additions and 4 deletions
|
@ -6,7 +6,5 @@ export PYENV_ROOT="$HOME/.pyenv"
|
||||||
export PATH="$PYENV_ROOT/bin:$PATH"
|
export PATH="$PYENV_ROOT/bin:$PATH"
|
||||||
eval "$(pyenv init --path)"
|
eval "$(pyenv init --path)"
|
||||||
pip install kalliope
|
pip install kalliope
|
||||||
kalliope install --git-url https://github.com/veka-server/kalliope-vosk.git
|
kalliope install --git-url https://github.com/mrdev023/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/
|
|
||||||
# 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/
|
# 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
6
download_complete_model.sh
Executable 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
|
|
@ -48,7 +48,7 @@ speech_to_text:
|
||||||
client_id: "fakeclientid" # example : "lN4JXeaSticbSo9-llczbA=="
|
client_id: "fakeclientid" # example : "lN4JXeaSticbSo9-llczbA=="
|
||||||
- vosk:
|
- vosk:
|
||||||
log-level: -1
|
log-level: -1
|
||||||
language: "resources/stt/vosk/model-fr"
|
language: "resources/stt/vosk/model-fr-full"
|
||||||
#- cmusphinx
|
#- cmusphinx
|
||||||
|
|
||||||
# ---------------------------
|
# ---------------------------
|
||||||
|
|
Loading…
Reference in a new issue