Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -16,8 +16,8 @@ def check_gpu():
|
|
16 |
|
17 |
# Configurar autenticaci贸n
|
18 |
def setup_auth():
|
19 |
-
if '
|
20 |
-
login(st.secrets['
|
21 |
return True
|
22 |
else:
|
23 |
st.error("No se encontr贸 el token de Hugging Face en los secrets")
|
|
|
16 |
|
17 |
# Configurar autenticaci贸n
|
18 |
def setup_auth():
|
19 |
+
if 'HUGGINGFACE_TOKEN' in st.secrets:
|
20 |
+
login(st.secrets['HUGGINGFACE_TOKEN'])
|
21 |
return True
|
22 |
else:
|
23 |
st.error("No se encontr贸 el token de Hugging Face en los secrets")
|