Skip to content

Commit

Permalink
models : fix HF model URL (close ggerganov#356)
Browse files Browse the repository at this point in the history
  • Loading branch information
ggerganov committed Jan 2, 2023
1 parent f00509d commit d629c03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion models/download-ggml-model.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -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%
Expand Down

0 comments on commit d629c03

Please sign in to comment.