opus/dnn/download_model.sh
2023-11-20 14:13:23 -05:00

10 lines
187 B
Bash
Executable file

#!/bin/sh
set -e
model=lpcnet_data-$1.tar.gz
if [ ! -f $model ]; then
echo "Downloading latest model"
wget https://media.xiph.org/lpcnet/data/$model
fi
tar xvomf $model