Spaces:
Running
Running
WhiteOlivierus
commited on
models : Faster download for models on windows using BitTransfer (#1404)
Browse files
models/download-ggml-model.cmd
CHANGED
|
@@ -40,7 +40,7 @@ if exist "ggml-%model%.bin" (
|
|
| 40 |
goto :eof
|
| 41 |
)
|
| 42 |
|
| 43 |
-
PowerShell -NoProfile -ExecutionPolicy Bypass -Command "
|
| 44 |
|
| 45 |
if %ERRORLEVEL% neq 0 (
|
| 46 |
echo Failed to download ggml model %model%
|
|
|
|
| 40 |
goto :eof
|
| 41 |
)
|
| 42 |
|
| 43 |
+
PowerShell -NoProfile -ExecutionPolicy Bypass -Command "Start-BitsTransfer -Source https://huggingface.co/ggerganov/whisper.cpp/resolve/main/ggml-%model%.bin -Destination ggml-%model%.bin"
|
| 44 |
|
| 45 |
if %ERRORLEVEL% neq 0 (
|
| 46 |
echo Failed to download ggml model %model%
|