Fetching metadata from the HF Docker repository...
-
Add API key auth for predict and dashboard
CJR61 +1: Claude Sonnet 4.6 - app/auth.py: check_predict_key (X-API-Key header),
check_dashboard_key (?key= query param)
- /predict/ requires X-API-Key header (PREDICT_API_KEY env secret)
- /dashboard/* requires ?key= query param (DASHBOARD_KEY env secret)
- Dashboard JS auto-appends key from URL to all fetch calls
- HF Space set to public; secrets stored in HF Space settings
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>