arina-hf-spaces-api / scripts /Install requirements.bat
adsurkasur's picture
clone from arina-hf-spaces
68964c2
raw
history blame contribute delete
363 Bytes
@echo off
cd ..
call venv\Scripts\activate
echo Installing requirements...
pip install -r app\requirements.txt
if %ERRORLEVEL% NEQ 0 (
echo Failed to install requirements. Please check the error messages above.
call venv\Scripts\deactivate
pause
exit /b %ERRORLEVEL%
)
echo Requirements installed successfully.
call venv\Scripts\deactivate
pause