Spaces:
Sleeping
Sleeping
Download app/auth.py from abhojulius/CoachPlugin: direct link, hf CLI and curl.
- Browser
- Download file 176 Bytes
-
https://huggingface.co/spaces/abhojulius/CoachPlugin/resolve/main/app/auth.py
- Command line
-
hf download hf://spaces/abhojulius/CoachPlugin/app/auth.py
-
curl -L -o auth.py https://huggingface.co/spaces/abhojulius/CoachPlugin/resolve/main/app/auth.py
176 Bytes
| VALID_KEYS = {"kJ39dGs9hQkW_xBuJkzQeYfIEGL6XgQsHUZD2a8dLwQskYz5jExsyV6DAyHf4PK_", "coach001", "demo-key"} | |
| def validate_api_key(key: str) -> bool: | |
| return key in VALID_KEYS | |