Spaces:
Sleeping
Sleeping
Deployment Guide
Hugging Face Spaces (Docker)
- Create a new Space at https://huggingface.co/spaces
- Select Docker as the SDK
- Push your repo to the Space (or link your GitHub)
- Add
MISTRAL_API_KEYas a secret in Space Settings - The app will auto-build and serve on the Space URL
The Dockerfile is already configured to expose port 8000.
Render (Free Tier)
- Connect your GitHub repo at https://render.com
- Render auto-detects the Dockerfile
- Add
MISTRAL_API_KEYas an environment variable - Deploy — free tier gives you 750 hours/month
Railway
- Connect repo at https://railway.app
- Auto-detects Dockerfile
- Set
MISTRAL_API_KEYin variables - Free tier: $5 credit/month
Local Docker
docker build -t mindsphere-coach .
docker run -p 8000:8000 -e MISTRAL_API_KEY=your_key mindsphere-coach
Then open http://localhost:8000
Without Docker
pip install -e .
python scripts/run_demo.py
Note on API Key
The app works without a Mistral API key — it falls back to template-based responses. For the full LLM-powered experience, get a key at https://console.mistral.ai/