Skip to content

Commit d629c03

Browse files
committed
models : fix HF model URL (close #356)
1 parent f00509d commit d629c03

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

models/download-ggml-model.cmd

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ if exist "ggml-%model%.bin" (
4040
goto :eof
4141
)
4242

43-
PowerShell -NoProfile -ExecutionPolicy Bypass -Command "Invoke-WebRequest -Uri https://huggingface.co/datasets/ggerganov/whisper.cpp/raw/main/ggml-%model%.bin -OutFile ggml-%model%.bin"
43+
PowerShell -NoProfile -ExecutionPolicy Bypass -Command "Invoke-WebRequest -Uri https://huggingface.co/datasets/ggerganov/whisper.cpp/resolve/main/ggml-%model%.bin -OutFile ggml-%model%.bin"
4444

4545
if %ERRORLEVEL% neq 0 (
4646
echo Failed to download ggml model %model%

0 commit comments

Comments
 (0)