Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -20,7 +20,7 @@ HUGGINGFACE_API_TOKEN = st.secrets["api_token"]
|
|
| 20 |
HUGGINGFACE_API_URL = "https://api-inference.huggingface.co/models/mistralai/Mistral-7B-Instruct-v0.2"
|
| 21 |
|
| 22 |
headers = {
|
| 23 |
-
"Authorization": f"Bearer {
|
| 24 |
"Content-Type": "application/json"
|
| 25 |
}
|
| 26 |
|
|
|
|
| 20 |
HUGGINGFACE_API_URL = "https://api-inference.huggingface.co/models/mistralai/Mistral-7B-Instruct-v0.2"
|
| 21 |
|
| 22 |
headers = {
|
| 23 |
+
"Authorization": f"Bearer {MISTRAL_API_TOKEN}",
|
| 24 |
"Content-Type": "application/json"
|
| 25 |
}
|
| 26 |
|