From 45c87b54813a185ebf37bb40f46587fd6eb86a4d Mon Sep 17 00:00:00 2001 From: WhiteOlivierus <36532695+WhiteOlivierus@users.noreply.github.com> Date: Mon, 30 Oct 2023 20:18:12 +0100 Subject: [PATCH] models : Faster download for models on windows using BitTransfer (#1404) --- models/download-ggml-model.cmd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/models/download-ggml-model.cmd b/models/download-ggml-model.cmd index 8220ac5..9042e99 100644 --- a/models/download-ggml-model.cmd +++ b/models/download-ggml-model.cmd @@ -40,7 +40,7 @@ if exist "ggml-%model%.bin" ( goto :eof ) -PowerShell -NoProfile -ExecutionPolicy Bypass -Command "Invoke-WebRequest -Uri https://huggingface.co/ggerganov/whisper.cpp/resolve/main/ggml-%model%.bin -OutFile ggml-%model%.bin" +PowerShell -NoProfile -ExecutionPolicy Bypass -Command "Start-BitsTransfer -Source https://huggingface.co/ggerganov/whisper.cpp/resolve/main/ggml-%model%.bin -Destination ggml-%model%.bin" if %ERRORLEVEL% neq 0 ( echo Failed to download ggml model %model%