File size: 811 Bytes
9c9ef1d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# 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