Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -20,8 +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 {MISTRAL_API
|
| 24 |
-
}",
|
| 25 |
"Content-Type": "application/json"
|
| 26 |
}
|
| 27 |
|
|
|
|
| 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}",
|
|
|
|
| 24 |
"Content-Type": "application/json"
|
| 25 |
}
|
| 26 |
|