Update hf_client.py
Browse files- hf_client.py +1 -1
hf_client.py
CHANGED
|
@@ -12,7 +12,7 @@ logging.disable(logging.CRITICAL)
|
|
| 12 |
|
| 13 |
HF_TOKEN = os.getenv("HF_TOKEN", None)
|
| 14 |
if HF_TOKEN:
|
| 15 |
-
login(token=HF_TOKEN, add_to_git_credential=False
|
| 16 |
|
| 17 |
HIDE_MODEL_ERRORS = os.getenv("HIDE_MODEL_ERRORS", "true").lower() in (
|
| 18 |
"1", "true", "yes", "y",
|
|
|
|
| 12 |
|
| 13 |
HF_TOKEN = os.getenv("HF_TOKEN", None)
|
| 14 |
if HF_TOKEN:
|
| 15 |
+
login(token=HF_TOKEN, add_to_git_credential=False)
|
| 16 |
|
| 17 |
HIDE_MODEL_ERRORS = os.getenv("HIDE_MODEL_ERRORS", "true").lower() in (
|
| 18 |
"1", "true", "yes", "y",
|