llama-gemma / patch_auth_key4.py
Leon4gr45's picture
Upload folder using huggingface_hub
7f6c372 verified
Raw History Blame Contribute Delete
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)