Spaces:
Running
Running
Commit History
24 days ago
-
Docker Space: landing page + receipt and returns demos behind one gateway
Verified signatureTurns this Space into a Docker Space that serves the vllm-sr demos landing page and both demos from one container: - `/` landing page (enter a vllm-sr API key, pick a demo) - `/receipt/` receipt intake demo (D3 checks receipt photos before an LLM reads them) - `/returns/` product returns demo (Vela + D3 decide, `vllm-sr/auto` words the reply) **How it runs:** the README's `sdk: docker` switches the Space to Docker; the root `Dockerfile` builds one image (Python 3.12 + Caddy). `start.sh` starts both demo servers, and Caddy on port 7860 routes the three paths. No models run here: every call goes to the hosted vllm-sr API (app.vllm-sr.ai) with the key each visitor enters, so no secret is needed. `SOURCES.txt` lists the demo commits it was built from. **Tested locally** with the same image: key check and hand-off, receipt extract/reject/upload, returns chat end to end, and a browser click-through with the Space inside a cross-origin frame (as on huggingface.co). After merge the Space b…7b6848b