Spaces:
Sleeping
Sleeping
| # 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 | |