Spaces:
Sleeping
Sleeping
tangxuemei
commited on
- src/envs.py +4 -4
src/envs.py
CHANGED
@@ -4,18 +4,18 @@ from huggingface_hub import HfApi
|
|
4 |
|
5 |
|
6 |
# replace this with our token
|
7 |
-
|
8 |
# print(TOKEN)
|
9 |
-
# OWNER = "
|
10 |
# REPO_ID = f"{OWNER}/Humanlike"
|
11 |
# QUEUE_REPO = f"{OWNER}/requests"
|
12 |
# RESULTS_REPO = f"{OWNER}/results"
|
13 |
|
14 |
|
15 |
-
OWNER = "
|
16 |
# ----------------------------------
|
17 |
|
18 |
-
REPO_ID = f"{OWNER}/
|
19 |
QUEUE_REPO = f"{OWNER}/requests"
|
20 |
RESULTS_REPO = f"{OWNER}/results"
|
21 |
|
|
|
4 |
|
5 |
|
6 |
# replace this with our token
|
7 |
+
os.environ.get("HF_TOKEN", None)
|
8 |
# print(TOKEN)
|
9 |
+
# OWNER = "vectara"
|
10 |
# REPO_ID = f"{OWNER}/Humanlike"
|
11 |
# QUEUE_REPO = f"{OWNER}/requests"
|
12 |
# RESULTS_REPO = f"{OWNER}/results"
|
13 |
|
14 |
|
15 |
+
OWNER = "tangtang1995" # Change to your org - don't forget to create a results and request dataset, with the correct format!
|
16 |
# ----------------------------------
|
17 |
|
18 |
+
REPO_ID = f"{OWNER}/Humanlike"
|
19 |
QUEUE_REPO = f"{OWNER}/requests"
|
20 |
RESULTS_REPO = f"{OWNER}/results"
|
21 |
|