Whisper-WebUI / Install.bat
jhj0517
remove redundant part
87239be
raw
history blame
425 Bytes
@echo off
if not exist "%~dp0\venv\Scripts" (
echo Creating venv...
python -m venv venv
)
echo checked the venv folder. now installing requirements..
call "%~dp0\venv\scripts\activate"
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