xref: /aosp_15_r20/external/libopus/dnn/download_model.sh (revision a58d3d2adb790c104798cd88c8a3aff4fa8b82cc)
1#!/bin/sh
2set -e
3
4model=opus_data-$1.tar.gz
5
6if [ ! -f $model ]; then
7        echo "Downloading latest model"
8        wget https://media.xiph.org/opus/models/$model
9fi
10tar xvomf $model
11