Spaces:
Sleeping
Sleeping
models : fix HF model URL (close #356)
Browse files
models/download-ggml-model.cmd
CHANGED
|
@@ -40,7 +40,7 @@ if exist "ggml-%model%.bin" (
|
|
| 40 |
goto :eof
|
| 41 |
)
|
| 42 |
|
| 43 |
-
PowerShell -NoProfile -ExecutionPolicy Bypass -Command "Invoke-WebRequest -Uri https://huggingface.co/datasets/ggerganov/whisper.cpp/
|
| 44 |
|
| 45 |
if %ERRORLEVEL% neq 0 (
|
| 46 |
echo Failed to download ggml model %model%
|
|
|
|
| 40 |
goto :eof
|
| 41 |
)
|
| 42 |
|
| 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"
|
| 44 |
|
| 45 |
if %ERRORLEVEL% neq 0 (
|
| 46 |
echo Failed to download ggml model %model%
|