]> git.djapps.eu Git - pkg/ggml/sources/whisper.cpp/commitdiff
models : fix HF model URL (close #356)
authorGeorgi Gerganov <redacted>
Mon, 2 Jan 2023 07:54:43 +0000 (09:54 +0200)
committerGeorgi Gerganov <redacted>
Mon, 2 Jan 2023 07:54:43 +0000 (09:54 +0200)
models/download-ggml-model.cmd

index 9fe56ccdbeddf5ae549972321adb2a68cccbfd9b..0def31abe243ec2e1478b1ee2143dd0a43ded31f 100644 (file)
@@ -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%