gnosticdev commited on
Commit
f2cbe50
verified
1 Parent(s): 38683ac

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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('reparbot') # 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)
 
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)