Spaces:
Sleeping
Sleeping
A newer version of the Streamlit SDK is available: 1.56.0
Quick Deployment Guide
π One-Command Deployment
For macOS/Linux:
chmod +x deploy.sh && ./deploy.sh
For Windows:
deploy.bat
π Platform-Specific Commands
Local Development
# Auto-detect best method
./deploy.sh
# Force Docker
./deploy.sh docker
# Force standalone (no Docker)
./deploy.sh standalone
Cloud Platforms
# Hugging Face Spaces
./deploy.sh hf-spaces
# Railway
./deploy.sh cloud railway
# Render
./deploy.sh cloud render
# Heroku
./deploy.sh cloud heroku
Management Commands
# Check status
./deploy.sh status
# Stop all services
./deploy.sh stop
# Show help
./deploy.sh help
π§ Environment Setup
Copy environment file:
cp .env.example .envEdit configuration as needed:
nano .env
π Access URLs
- Frontend: http://localhost:8501
- Backend API: http://localhost:8001
- API Docs: http://localhost:8001/docs
π Troubleshooting
Common Issues
- Port conflicts: Change DEFAULT_PORT in deploy.sh
- Python not found: Install Python 3.8+
- Docker issues: Ensure Docker is running
- Model loading: Check internet connection
Platform Issues
- HF Spaces: Check app_file in README.md header
- Railway/Render: Verify Dockerfile.standalone exists
- Heroku: Ensure Procfile is created
π Quick Support
Run ./deploy.sh status to check deployment health.