Update app.py
Browse files
app.py
CHANGED
|
@@ -5,7 +5,7 @@ import requests
|
|
| 5 |
|
| 6 |
# Usaremos un modelo p煤blico accesible sin restricciones complejas
|
| 7 |
API_URL = "https://api-inference.huggingface.co/models/mistralai/Mistral-7B-Instruct-v0.1"
|
| 8 |
-
HEADERS = {"Authorization": "Bearer
|
| 9 |
|
| 10 |
|
| 11 |
# Funci贸n para enviar mensaje a la API de Hugging Face
|
|
|
|
| 5 |
|
| 6 |
# Usaremos un modelo p煤blico accesible sin restricciones complejas
|
| 7 |
API_URL = "https://api-inference.huggingface.co/models/mistralai/Mistral-7B-Instruct-v0.1"
|
| 8 |
+
HEADERS = {"Authorization": "Bearer hf_xxxxxxxxxxxxxxxxxxxxxx"}
|
| 9 |
|
| 10 |
|
| 11 |
# Funci贸n para enviar mensaje a la API de Hugging Face
|