Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -5,7 +5,7 @@ from transformers import AutoModelForCausalLM, AutoTokenizer
|
|
5 |
from huggingface_hub import login
|
6 |
|
7 |
# Iniciar sesi贸n en Hugging Face usando el secreto
|
8 |
-
huggingface_token = os.getenv('
|
9 |
if huggingface_token is None:
|
10 |
raise ValueError("El token de Hugging Face no est谩 configurado en las variables de entorno.")
|
11 |
login(huggingface_token)
|
|
|
5 |
from huggingface_hub import login
|
6 |
|
7 |
# Iniciar sesi贸n en Hugging Face usando el secreto
|
8 |
+
huggingface_token = os.getenv('reparbot2') # Aseg煤rate de que el nombre coincida
|
9 |
if huggingface_token is None:
|
10 |
raise ValueError("El token de Hugging Face no est谩 configurado en las variables de entorno.")
|
11 |
login(huggingface_token)
|