| # One-click setup for 16GB Mac Air (Apple Silicon) | |
| echo "Setting up Ankahi on your Mac Air..." | |
| # Check for Homebrew | |
| if ! command -v brew &> /dev/null | |
| then | |
| echo "Please install Homebrew first (https://brew.sh)" | |
| exit | |
| fi | |
| # Install Python dependencies | |
| echo "Installing Apple Silicon optimized AI tools..." | |
| pip3 install mlx-lm fastapi uvicorn pydantic gtts | |
| echo "Setup complete!" | |
| echo "Next: run 'python3 convert_to_mlx.py' to optimize the weights." | |
| echo "Then: run 'python3 server_mlx.py' to start the server." | |