xref: /aosp_15_r20/external/libopus/dnn/download_model.bat (revision a58d3d2adb790c104798cd88c8a3aff4fa8b82cc)
1@echo off
2set model=opus_data-%1.tar.gz
3
4if not exist %model% (
5    echo Downloading latest model
6    powershell -Command "(New-Object System.Net.WebClient).DownloadFile('https://media.xiph.org/opus/models/%model%', '%model%')"
7)
8
9tar -xvzf %model%
10