From: Georgi Gerganov Date: Mon, 2 Jan 2023 07:54:43 +0000 (+0200) Subject: models : fix HF model URL (close #356) X-Git-Tag: upstream/1.7.4~1663 X-Git-Url: https://git.djapps.eu/?a=commitdiff_plain;h=d629c034a4bc86d1021f150efbc1328335dfbfdb;p=pkg%2Fggml%2Fsources%2Fwhisper.cpp models : fix HF model URL (close #356) --- diff --git a/models/download-ggml-model.cmd b/models/download-ggml-model.cmd index 9fe56ccd..0def31ab 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/datasets/ggerganov/whisper.cpp/raw/main/ggml-%model%.bin -OutFile ggml-%model%.bin" +PowerShell -NoProfile -ExecutionPolicy Bypass -Command "Invoke-WebRequest -Uri https://huggingface.co/datasets/ggerganov/whisper.cpp/resolve/main/ggml-%model%.bin -OutFile ggml-%model%.bin" if %ERRORLEVEL% neq 0 ( echo Failed to download ggml model %model%