Spaces:
Running
Running
Download patch_auth_key4.py from Leon4gr45/llama-gemma: direct link, hf CLI and curl.
- Browser
- Download file 278 Bytes
-
https://huggingface.co/spaces/Leon4gr45/llama-gemma/resolve/main/patch_auth_key4.py
- Command line
-
hf download hf://spaces/Leon4gr45/llama-gemma/patch_auth_key4.py
-
curl -L -o patch_auth_key4.py https://huggingface.co/spaces/Leon4gr45/llama-gemma/resolve/main/patch_auth_key4.py
278 Bytes
| with open("start.sh", "r") as f: | |
| code = f.read() | |
| code = code.replace("unset PORT LLAMA_PORT LLAMA_ARG_PORT LLAMA_API_KEY LLAMA_ARG_API_KEY API_KEY", "unset PORT LLAMA_PORT LLAMA_ARG_PORT LLAMA_API_KEY LLAMA_ARG_API_KEY") | |
| with open("start.sh", "w") as f: | |
| f.write(code) | |