Spaces:
Running
Running
Download patch_auth_test23.py from Leon4gr45/llama-gemma: direct link, hf CLI and curl.
- Browser
- Download file 255 Bytes
-
https://huggingface.co/spaces/Leon4gr45/llama-gemma/resolve/main/patch_auth_test23.py
- Command line
-
hf download hf://spaces/Leon4gr45/llama-gemma/patch_auth_test23.py
-
curl -L -o patch_auth_test23.py https://huggingface.co/spaces/Leon4gr45/llama-gemma/resolve/main/patch_auth_test23.py
255 Bytes
| with open("gateway.py", "r") as f: | |
| code = f.read() | |
| # Let's inspect `llama_auth_headers()` | |
| print("LLAMA_AUTH_HEADERS:") | |
| start_idx = code.find("def llama_auth_headers") | |
| end_idx = code.find("async def check_llama_status") | |
| print(code[start_idx:end_idx]) | |