File size: 531 Bytes
b81150d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/bin/bash
# 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."