add some code
This commit is contained in:
9
managed_components/78__esp-opus/dnn/download_model.bat
Normal file
9
managed_components/78__esp-opus/dnn/download_model.bat
Normal file
@@ -0,0 +1,9 @@
|
||||
@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%
|
||||
Reference in New Issue
Block a user