Update app.py
Browse files
app.py
CHANGED
@@ -10,7 +10,7 @@ logging.basicConfig(
|
|
10 |
)
|
11 |
|
12 |
# Obtener el token de Hugging Face de variables de entorno (secret)
|
13 |
-
hf_token = os.getenv("
|
14 |
|
15 |
if not hf_token:
|
16 |
logging.error("El token de Hugging Face no está configurado. Agrega 'HF_TOKEN' como variable de entorno.")
|
|
|
10 |
)
|
11 |
|
12 |
# Obtener el token de Hugging Face de variables de entorno (secret)
|
13 |
+
hf_token = os.getenv("HF_TOKEN2")
|
14 |
|
15 |
if not hf_token:
|
16 |
logging.error("El token de Hugging Face no está configurado. Agrega 'HF_TOKEN' como variable de entorno.")
|