Spaces:
Runtime error
Runtime error
Commit History
-
Switch HF Space SDK from streamlit to docker
maralzar +1: CursorHF removed Streamlit as a top-level Space SDK; the supported path is now Docker SDK with a user-provided Dockerfile. - Dockerfile: python:3.10-slim, runs as user 1000 (HF Spaces convention), installs requirements.txt, pre-warms BAAI/bge-small-en-v1.5 at build time so first request is fast, exposes port 7860, launches Streamlit bound to 0.0.0.0 with CORS/XSRF relaxed for HF's reverse proxy. - README.md frontmatter: sdk -> docker, app_port -> 7860, drop the streamlit-specific keys. Co-authored-by: Cursor <cursoragent@cursor.com>27c67d2 -
Initial commit: EPCC clause classifier Streamlit demo for HF Spaces
maralzar +1: Cursor- app.py: Streamlit entry point (Spaces convention at repo root) - src/: clause classifier (config, features, epcc demo, data helpers) - models/embed_lr.joblib: trained LR head on bge-small-en-v1.5 embeddings - data/epcc_synthetic.json: 15 synthetic EPCC excerpts + 11-area playbook - outputs/: pre-computed predictions and metrics for the demo tabs - README.md: HF Spaces frontmatter + product context and limitations Mirror of github.com/maralzar/epcc-contract-intelligence, slimmed to the files needed for the live Spaces demo. Co-authored-by: Cursor <cursoragent@cursor.com>5212b8e