File size: 517 Bytes
8dc677a
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/bin/bash

# Activate virtual environment
source venv/bin/activate

# Check if .env file exists
if [ ! -f .env ]; then
    echo "⚠️  Warning: .env file not found!"
    echo ""
    echo "Please create a .env file with your HuggingFace READ_TOKEN:"
    echo "  READ_TOKEN=your_token_here"
    echo ""
    echo "Get your token from: https://huggingface.co/settings/tokens"
    echo ""
    read -p "Press Enter to continue anyway (models may fail to download) or Ctrl+C to exit..."
fi

# Run the app
python app.py