Spaces:
Sleeping
Sleeping
Update app.py
Browse files5 unmodified lines67891011125 unmodified linesimport osAPI_URL = "https://api-inference.huggingface.co/models/mistralai/Mixtral-8x7B-Instruct-v0.1"headers = {"Authorization": f"Bearer {os.environ.get("API_KEY")}def query(payload):response = requests.post(API_URL, headers=headers, json=payload)5 unmodified lines67891011125 unmodified linesimport osAPI_URL = "https://api-inference.huggingface.co/models/mistralai/Mixtral-8x7B-Instruct-v0.1"headers = {"Authorization": f"Bearer {os.environ.get('API_KEY')}def query(payload):response = requests.post(API_URL, headers=headers, json=payload)
app.py+1-1