ok we gucci

master
Bel LaPointe 2022-11-14 08:31:59 -07:00
parent 1c2bf79563
commit 289328c973
3 changed files with 3 additions and 2 deletions

1
.gitignore vendored
View File

@ -1,3 +1,4 @@
**/*.sw* **/*.sw*
snowboy-2022/snowboy snowboy-2022/snowboy
**/*.git.d **/*.git.d
**/*.wav

View File

@ -6,7 +6,7 @@ cd "$(dirname "$(realpath "$BASH_SOURCE")")"
set -e set -e
set -o pipefail set -o pipefail
if [ ! -d ./snowboy ]; then if [ ! -d ./snowboy.git.d ]; then
git clone https://github.com/seasalt-ai/snowboy snowboy.git.d git clone https://github.com/seasalt-ai/snowboy snowboy.git.d
fi fi
@ -67,5 +67,5 @@ else
resources="$(realpath snowboy.git.d/resources/common.res)" resources="$(realpath snowboy.git.d/resources/common.res)"
hotword="$(realpath ./model/hotword.pmdl)" hotword="$(realpath ./model/hotword.pmdl)"
go build -o snowboy go build -o snowboy
./snowboy -model "$hotword" -resources "$resources" -sensitivity 0.4 ./snowboy -model "$hotword" -resources "$resources" -sensitivity 0.5
fi fi

Binary file not shown.