ok we gucci
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -1,3 +1,4 @@
|
|||||||
**/*.sw*
|
**/*.sw*
|
||||||
snowboy-2022/snowboy
|
snowboy-2022/snowboy
|
||||||
**/*.git.d
|
**/*.git.d
|
||||||
|
**/*.wav
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
BIN
snowboy-2022/model/hotword.pmdl
Normal file
BIN
snowboy-2022/model/hotword.pmdl
Normal file
Binary file not shown.
Reference in New Issue
Block a user