Files
xiaozhi-esp32/managed_components/78__esp-opus/dnn/download_model.bat
2025-09-05 13:25:11 +08:00

10 lines
249 B
Batchfile

@echo off
set model=opus_data-%1.tar.gz
if not exist %model% (
echo Downloading latest model
powershell -Command "(New-Object System.Net.WebClient).DownloadFile('https://media.xiph.org/opus/models/%model%', '%model%')"
)
tar -xvzf %model%