Spaces:
Build error
Build error
Download Install.bat from lbdhr/Whisper-WebUI: direct link, hf CLI and curl.
- Browser
- Download file 449 Bytes
-
https://huggingface.co/spaces/lbdhr/Whisper-WebUI/resolve/d419ad4fbe338426d5dcee78abda1704701d623c/Install.bat
- Command line
-
hf download hf://spaces/lbdhr/Whisper-WebUI@d419ad4fbe338426d5dcee78abda1704701d623c/Install.bat
-
curl -L -o Install.bat https://huggingface.co/spaces/lbdhr/Whisper-WebUI/resolve/d419ad4fbe338426d5dcee78abda1704701d623c/Install.bat
449 Bytes
| @echo off | |
| if not exist "%~dp0\venv\Scripts" ( | |
| echo Creating venv... | |
| python -m venv venv | |
| ) | |
| echo checked the venv folder. now installing requirements.. | |
| cd /d "%~dp0\venv\Scripts" | |
| call activate.bat | |
| cd /d "%~dp0" | |
| pip install -r requirements.txt | |
| if errorlevel 1 ( | |
| echo. | |
| echo Requirements installation failed. please remove venv folder and run install.bat again. | |
| ) else ( | |
| echo. | |
| echo Requirements installed successfully. | |
| ) | |
| pause |