Create user 1000 with writable HOME for HF Spaces git config
Eric Xu
Unverified signature
6226068
Add wget to Dockerfile (required by HF Spaces dev tools)
Eric Xu
Unverified signature
e810ce8
Fix port binding: start.sh kills zombie, add app logging
Eric Xu
Unverified signature
618f739
Fix port binding: simplify startup, remove timeout on segments, clean SIGTERM
Eric Xu
Unverified signature
b4e9b32
Security hardening: rate limiting, no creds in URLs, path traversal fix
Eric Xu
Unverified signature
9ea2205
Critical fixes from security audit:
- Move API key from query params to Authorization header (never logged)
- Add per-IP rate limiting (20 LLM requests/hour)
- Cap parallel workers at 10 to prevent abuse
- Fix Nemotron path traversal (must be within project or /tmp)
- Disable uvicorn access log to prevent credential leakage
- Remove filesystem paths from /api/config response
- Fix Dockerfile: add git for HF Spaces build
- Update privacy claim to accurately describe key handling
Add HuggingFace Spaces deployment support
Eric Xu
Unverified signature
c9d61d3
- Dockerfile for HF Spaces (port 7860, Python 3.11)
- Per-user API key input in UI (no .env needed for hosted mode)
- Detect SPACE_ID env var, auto-bind 0.0.0.0:7860
- Persona dataset dropdown: USA, Japan, India, Singapore, Brazil, France
(all from nvidia/Nemotron-Personas collection)
- HF Spaces metadata in README frontmatter
- /api/config/api-key endpoint for browser-based key entry
- /api/nemotron/setup accepts dataset choice parameter