Spaces:
Runtime error
Runtime error
Update src/envs.py
Browse files- src/envs.py +2 -1
src/envs.py
CHANGED
@@ -4,7 +4,8 @@ from huggingface_hub import HfApi
|
|
4 |
|
5 |
|
6 |
# replace this with our token
|
7 |
-
TOKEN = os.environ.get("HF_TOKEN", None)
|
|
|
8 |
# print(TOKEN)
|
9 |
# OWNER = "vectara"
|
10 |
# REPO_ID = f"{OWNER}/Humanlike"
|
|
|
4 |
|
5 |
|
6 |
# replace this with our token
|
7 |
+
# TOKEN = os.environ.get("HF_TOKEN", None)
|
8 |
+
TOKEN = os.getenv("HF_TOKEN")
|
9 |
# print(TOKEN)
|
10 |
# OWNER = "vectara"
|
11 |
# REPO_ID = f"{OWNER}/Humanlike"
|