@echo off
REM Auto-start virtual environment and main.py

REM Check if venv exists
IF NOT EXIST venv (
    echo Creating virtual environment...
    python -m venv venv
)

REM Activate venv
call venv\Scripts\activate

REM Install dependencies
echo Installing dependencies...
pip install --upgrade pip
pip install -r requirements.txt

REM Run the script
echo Running program...
python main.py

pause
