ok we gucci
parent
1c2bf79563
commit
289328c973
|
|
@ -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
|
||||||
|
|
|
||||||
Binary file not shown.
Loading…
Reference in New Issue