Hugging Face Space secrets example
Create these in your Space: Settings -> Variables and secrets.
DS2API_ADMIN_KEY
Use a strong random value, for example:
replace-with-a-long-random-admin-key
DS2API_CONFIG_JSON
Copy config.example.json, edit it, then paste the entire JSON as a secret. Minimal shape:
{
"keys": ["your-openai-compatible-client-key"],
"accounts": [
{
"name": "main",
"email": "your-deepseek-email@example.com",
"password": "your-deepseek-password"
}
]
}