import requests API_URL = "[https://api-inference.huggingface.co/models/oke39/llama3-8b-secure-code](https://api-inference.huggingface.co/models/oke39/llama3-8b-secure-code)"headers = {"Authorization": "Bearer YOUR_HF_TOKEN"} payload = { "inputs": """<|begin_of_text|><|start_header_id|>system<|end_header_id|> You are Jack, a Secure Code Agent. Fix the security vulnerability in the provided code.<|eot_id|><|start_header_id|>user<|end_header_id|> def login(username, password): # Vulnerable SQL Injection query = "SELECT * FROM users WHERE username = '" + username + "' AND password = '" + password + "'" cursor.execute(query)<|eot_id|><|start_header_id|>assistant<|end_header_id|>"""} response = requests.post(API_URL, headers=headers, json=payload)print(response.json())