Spaces:
Sleeping
Sleeping
Download .env.example from mjpsm/activity-generation-api: direct link, hf CLI and curl.
- Browser
- Download file 811 Bytes
-
https://huggingface.co/spaces/mjpsm/activity-generation-api/resolve/main/.env.example
- Command line
-
hf download hf://spaces/mjpsm/activity-generation-api/.env.example
-
curl -L -o .env.example https://huggingface.co/spaces/mjpsm/activity-generation-api/resolve/main/.env.example
811 Bytes
| # Base URLs auto-discover the POST route from /openapi.json. | |
| # Or enter FULL real POST URLs, e.g. https://...hf.space/your-post-route. | |
| PROGRESSION_API_URL=https://mjpsm-activity-progression-api.hf.space | |
| COMPOSITION_API_URL=https://mjpsm-activity-composition-api.hf.space | |
| INSTRUCTION_API_URL=https://mjpsm-activity-instruction-api.hf.space | |
| # Leave empty for public Spaces. Set when upstream endpoints require HF authorization. | |
| HF_TOKEN= | |
| # Optional X-API-Key required from MyVillage clients when nonempty. | |
| API_KEY= | |
| READ_TIMEOUT_SECONDS=240 | |
| MAX_ATTEMPTS=2 | |
| # Change ONLY if the stage API's Swagger request schema differs: | |
| # COMPOSITION_INPUT_STYLE=direct | input | bare | |
| # INSTRUCTION_INPUT_STYLE=direct | nested_output | input | input_nested_output | |
| COMPOSITION_INPUT_STYLE=direct | |
| INSTRUCTION_INPUT_STYLE=direct | |