Spaces:
Sleeping
Sleeping
tangxuemei
commited on
- src/envs.py +11 -2
src/envs.py
CHANGED
@@ -6,10 +6,19 @@ from huggingface_hub import HfApi
|
|
6 |
# replace this with our token
|
7 |
TOKEN = os.environ.get("HF_TOKEN", None)
|
8 |
# print(TOKEN)
|
9 |
-
OWNER = "tangtang1995"
|
10 |
-
REPO_ID = f"{OWNER}/Humanlike"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
11 |
QUEUE_REPO = f"{OWNER}/requests"
|
12 |
RESULTS_REPO = f"{OWNER}/results"
|
|
|
13 |
print(RESULTS_REPO)
|
14 |
CACHE_PATH=os.getenv("HF_HOME", ".")
|
15 |
|
|
|
6 |
# replace this with our token
|
7 |
TOKEN = os.environ.get("HF_TOKEN", None)
|
8 |
# print(TOKEN)
|
9 |
+
# OWNER = "tangtang1995"
|
10 |
+
# REPO_ID = f"{OWNER}/Humanlike"
|
11 |
+
# QUEUE_REPO = f"{OWNER}/requests"
|
12 |
+
# RESULTS_REPO = f"{OWNER}/results"
|
13 |
+
|
14 |
+
|
15 |
+
OWNER = "demo-leaderboard-backend" # 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}/leaderboard"
|
19 |
QUEUE_REPO = f"{OWNER}/requests"
|
20 |
RESULTS_REPO = f"{OWNER}/results"
|
21 |
+
|
22 |
print(RESULTS_REPO)
|
23 |
CACHE_PATH=os.getenv("HF_HOME", ".")
|
24 |
|