Spaces:
Running
Running
File size: 635 Bytes
833dac3 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 |
@echo off
REM Batch script to start the Educational LLM Application
REM Check Python environment
where python >nul 2>nul
if %ERRORLEVEL% neq 0 (
echo Error: Python is required but not found. Please install Python.
exit /b 1
)
REM Check virtual environment
if not exist venv (
echo Creating Python virtual environment...
python -m venv venv
call venv\Scripts\activate
echo Installing dependencies...
pip install -r requirements.txt
) else (
call venv\Scripts\activate
)
REM Run application
echo Starting Educational LLM Application...
python app.py
REM Deactivate virtual environment
call deactivate |