Spaces:
Sleeping
Sleeping
Deployment Guide
Streamlit Community Cloud
- Push the repository to GitHub.
- Create a Streamlit app with
streamlit_app.pyas the entrypoint. - Use Python 3.12.
- Add
GEMINI_API_KEYonly if optional LLM narration is desired. - Keep the default SQLite/local artifact mode for a stateless public demo.
The app is fully functional without an LLM key.
Render API
render.yaml defines a Docker-backed FastAPI service. Configure:
DATABASE_URL: Neon, Supabase or another PostgreSQL URL.GEMINI_API_KEY: optional.- persistent/object storage if generated artifacts must survive redeployments.
Docker Compose
docker compose up --build
- Streamlit: http://localhost:8501
- FastAPI: http://localhost:8000/docs
The isolated worker has no exposed port and no network.
Production topology
For heavier datasets, make /v1/analyze/* enqueue jobs to a separate worker and return
202 Accepted. Persist state in PostgreSQL, place artifacts in S3-compatible storage, and
stream progress through server-sent events or polling.