Skip to content

Commit

Permalink
pt citrinet fallback + dutch image
Browse files Browse the repository at this point in the history
  • Loading branch information
JarbasAl committed Dec 14, 2024
1 parent 258e492 commit 7cad31a
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 3 deletions.
10 changes: 7 additions & 3 deletions build_raspOVOS_nl.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,13 @@ source /home/$USER/.venvs/ovos/bin/activate
echo "Setting up default wifi country..."
/usr/bin/raspi-config nonint do_wifi_country NL

echo "Caching pre-trained padatious intents..."
mkdir -p /home/$USER/.local/share/mycroft/intent_cache
cp -rv /mounted-github-repo/intent_cache/nl-NL /home/$USER/.local/share/mycroft/intent_cache/
# TODO - get dutch intents
#echo "Caching pre-trained padatious intents..."
#mkdir -p /home/$USER/.local/share/mycroft/intent_cache
#cp -rv /mounted-github-repo/intent_cache/nl-NL /home/$USER/.local/share/mycroft/intent_cache/

echo "Installing Citrinet plugin..."
uv pip install ovos-stt-plugin-citrinet

echo "Downloading dutch citrinet model..."
python /mounted-github-repo/packages/download_citrinet_nl.py
Expand Down
3 changes: 3 additions & 0 deletions build_raspOVOS_pt.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ echo "Caching pre-trained padatious intents..."
mkdir -p /home/$USER/.local/share/mycroft/intent_cache
cp -rv /mounted-github-repo/intent_cache/pt-PT /home/$USER/.local/share/mycroft/intent_cache/

echo "Installing Citrinet plugin..."
uv pip install ovos-stt-plugin-citrinet

echo "Downloading portuguese citrinet model..."
python /mounted-github-repo/packages/download_citrinet_pt.py
# since script was run as root, we need to move downloaded files
Expand Down
14 changes: 14 additions & 0 deletions mycroft_nl.conf
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,20 @@
"time_format": "full",
"spoken_time_format": "half",
"date_format": "DMY",
"listener": {
"stand_up_word": "wakker_worden"
},
"hotwords": {
"wakker_worden": {
"module": "ovos-ww-plugin-vosk",
"rule": "fuzzy",
"samples": [
"wakker worden"
],
"lang": "nl",
"wakeup": true
}
},
"stt": {
"module": "ovos-stt-plugin-citrinet",
"fallback_module": "",
Expand Down

0 comments on commit 7cad31a

Please sign in to comment.