| @echo off | |
| echo π Book Summarizer AI - Windows Startup | |
| echo ====================================== | |
| echo. | |
| echo π§ Checking Python installation... | |
| python --version >nul 2>&1 | |
| if errorlevel 1 ( | |
| echo β Python is not installed or not in PATH | |
| echo Please install Python from https://python.org | |
| pause | |
| exit /b 1 | |
| ) | |
| echo β Python found | |
| echo. | |
| echo π¦ Installing dependencies... | |
| pip install -r requirements.txt | |
| if errorlevel 1 ( | |
| echo β Failed to install dependencies | |
| pause | |
| exit /b 1 | |
| ) | |
| echo β Dependencies installed | |
| echo. | |
| echo π Starting Book Summarizer AI... | |
| python start.py | |
| pause |