Spaces:
Sleeping
Sleeping
Download keygen.py from eishit32/UPNISO_API: direct link, hf CLI and curl.
- Browser
- Download file 78 Bytes
-
https://huggingface.co/spaces/eishit32/UPNISO_API/resolve/main/keygen.py
- Command line
-
hf download hf://spaces/eishit32/UPNISO_API/keygen.py
-
curl -L -o keygen.py https://huggingface.co/spaces/eishit32/UPNISO_API/resolve/main/keygen.py
78 Bytes
| import secrets | |
| def generate_key(): | |
| return "upn_" + secrets.token_hex(24) | |