ok we gucci
parent
1c2bf79563
commit
289328c973
|
|
@ -1,3 +1,4 @@
|
|||
**/*.sw*
|
||||
snowboy-2022/snowboy
|
||||
**/*.git.d
|
||||
**/*.wav
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ cd "$(dirname "$(realpath "$BASH_SOURCE")")"
|
|||
set -e
|
||||
set -o pipefail
|
||||
|
||||
if [ ! -d ./snowboy ]; then
|
||||
if [ ! -d ./snowboy.git.d ]; then
|
||||
git clone https://github.com/seasalt-ai/snowboy snowboy.git.d
|
||||
fi
|
||||
|
||||
|
|
@ -67,5 +67,5 @@ else
|
|||
resources="$(realpath snowboy.git.d/resources/common.res)"
|
||||
hotword="$(realpath ./model/hotword.pmdl)"
|
||||
go build -o snowboy
|
||||
./snowboy -model "$hotword" -resources "$resources" -sensitivity 0.4
|
||||
./snowboy -model "$hotword" -resources "$resources" -sensitivity 0.5
|
||||
fi
|
||||
|
|
|
|||
Binary file not shown.
Loading…
Reference in New Issue