Spaces:
Running
Running
Download patch_auth_test34.py from Leon4gr45/llama-gemma: direct link, hf CLI and curl.
- Browser
- Download file 273 Bytes
-
https://huggingface.co/spaces/Leon4gr45/llama-gemma/resolve/main/patch_auth_test34.py
- Command line
-
hf download hf://spaces/Leon4gr45/llama-gemma/patch_auth_test34.py
-
curl -L -o patch_auth_test34.py https://huggingface.co/spaces/Leon4gr45/llama-gemma/resolve/main/patch_auth_test34.py
273 Bytes
| with open("gateway.py", "r") as f: | |
| code = f.read() | |
| # Let's completely remove API_KEY forwarding from llama_auth_headers and just leave it to default. | |
| # WAIT. In start.sh I restored `env -u API_KEY LLAMA_API_KEY=internal_secret_key /usr/local/bin/llama-swap`. | |
| # Did I? | |