| echo "π Book Summarizer AI - Unix/Linux/Mac Startup" | |
| echo "==============================================" | |
| echo "" | |
| echo "π§ Checking Python installation..." | |
| if ! command -v python3 &> /dev/null; then | |
| echo "β Python 3 is not installed or not in PATH" | |
| echo "Please install Python 3 from https://python.org" | |
| exit 1 | |
| fi | |
| echo "β Python 3 found" | |
| echo "" | |
| echo "π¦ Installing dependencies..." | |
| pip3 install -r requirements.txt | |
| if [ $? -ne 0 ]; then | |
| echo "β Failed to install dependencies" | |
| exit 1 | |
| fi | |
| echo "β Dependencies installed" | |
| echo "" | |
| echo "π Starting Book Summarizer AI..." | |
| python3 start.py |