Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -3,7 +3,7 @@ import requests
|
|
| 3 |
|
| 4 |
API_URL = "https://api-inference.huggingface.co/models/mistralai/Mistral-7B-Instruct-v0.1"
|
| 5 |
headers = {
|
| 6 |
-
"Authorization": f"Bearer
|
| 7 |
}
|
| 8 |
|
| 9 |
def query(payload):
|
|
|
|
| 3 |
|
| 4 |
API_URL = "https://api-inference.huggingface.co/models/mistralai/Mistral-7B-Instruct-v0.1"
|
| 5 |
headers = {
|
| 6 |
+
"Authorization": f"Bearer HF_API_TOKEN"
|
| 7 |
}
|
| 8 |
|
| 9 |
def query(payload):
|