Spaces:
Runtime error
Runtime error
acecalisto3
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -72,7 +72,7 @@ HUGGINGFACE_TOKEN = os.getenv("HUGGINGFACE_TOKEN")
|
|
72 |
if not HUGGINGFACE_TOKEN:
|
73 |
raise ValueError("HUGGINGFACE_TOKEN is not set in the environment variables.")
|
74 |
add_to_git_credential=True
|
75 |
-
login(token=HUGGINGFACE_TOKEN)
|
76 |
|
77 |
|
78 |
# Load environment variables from .env file
|
|
|
72 |
if not HUGGINGFACE_TOKEN:
|
73 |
raise ValueError("HUGGINGFACE_TOKEN is not set in the environment variables.")
|
74 |
add_to_git_credential=True
|
75 |
+
login(token=HUGGINGFACE_TOKEN, add_to_git_credential=True)
|
76 |
|
77 |
|
78 |
# Load environment variables from .env file
|