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