Download ankahi_bundle/mac_optimized/setup_mac.sh from bhriguverma/ankahi: direct link, hf CLI and curl.
- Browser
- Download file 531 Bytes
-
https://huggingface.co/bhriguverma/ankahi/resolve/main/ankahi_bundle/mac_optimized/setup_mac.sh
- Command line
-
hf download hf://bhriguverma/ankahi/ankahi_bundle/mac_optimized/setup_mac.sh
-
curl -L -o setup_mac.sh https://huggingface.co/bhriguverma/ankahi/resolve/main/ankahi_bundle/mac_optimized/setup_mac.sh
531 Bytes
| # 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." | |