Rizonando commited on
Commit
6b1a9b7
路
verified 路
1 Parent(s): e5804f1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -5,7 +5,8 @@ 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 hf_tu_token_aqui"} # <-- Reemplaza con tu token real
 
9
 
10
  # Funci贸n para enviar mensaje a la API de Hugging Face
11
  def chat_with_smart(message, history):
 
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_yourrealapitoken"}
9
+
10
 
11
  # Funci贸n para enviar mensaje a la API de Hugging Face
12
  def chat_with_smart(message, history):