diff --git a/bin/getmodel.sh b/bin/getmodel.sh index e60e5b6..626e5e7 100755 --- a/bin/getmodel.sh +++ b/bin/getmodel.sh @@ -4,6 +4,7 @@ version="0.7.1" dir="deepspeech-${version}-models" am="${dir}.pbmm" scorer="${dir}.scorer" +tflite="${dir}.tflite" mkdir -p models/en cd models/en @@ -16,6 +17,10 @@ if [[ ! -f $scorer ]] ; then wget "https://github.com/mozilla/DeepSpeech/releases/download/v${version}/${scorer}" fi +if [[ ! -f $tflite ]] ; then + wget "https://github.com/mozilla/DeepSpeech/releases/download/v${version}/${tflite}" +fi + if [[ ! -f "alphabet.txt" ]] ; then wget "https://raw.githubusercontent.com/mozilla/DeepSpeech/master/data/alphabet.txt" fi