Spaces:
Runtime error
Runtime error
Sean Cho
commited on
Commit
·
a009bf0
1
Parent(s):
698a3a3
change space name
Browse files
app.py
CHANGED
@@ -23,11 +23,11 @@ pd.set_option('display.precision', 1)
|
|
23 |
# clone / pull the lmeh eval data
|
24 |
H4_TOKEN = os.environ.get("H4_TOKEN", None)
|
25 |
|
26 |
-
QUEUE_REPO = "
|
27 |
-
RESULTS_REPO = "
|
28 |
|
29 |
-
PRIVATE_QUEUE_REPO = "
|
30 |
-
PRIVATE_RESULTS_REPO = "
|
31 |
|
32 |
IS_PUBLIC = bool(os.environ.get("IS_PUBLIC", True))
|
33 |
|
@@ -41,7 +41,7 @@ api = HfApi()
|
|
41 |
|
42 |
def restart_space():
|
43 |
api.restart_space(
|
44 |
-
repo_id="
|
45 |
)
|
46 |
|
47 |
eval_queue, requested_models, eval_results = load_all_info_from_hub(QUEUE_REPO, RESULTS_REPO, EVAL_REQUESTS_PATH, EVAL_RESULTS_PATH)
|
|
|
23 |
# clone / pull the lmeh eval data
|
24 |
H4_TOKEN = os.environ.get("H4_TOKEN", None)
|
25 |
|
26 |
+
QUEUE_REPO = "BearSean/leaderboard-test-requests"
|
27 |
+
RESULTS_REPO = "BearSean/leaderboard-test-results"
|
28 |
|
29 |
+
PRIVATE_QUEUE_REPO = "BearSean/leaderboard-test-requests"
|
30 |
+
PRIVATE_RESULTS_REPO = "BearSean/leaderboard-test-requests"
|
31 |
|
32 |
IS_PUBLIC = bool(os.environ.get("IS_PUBLIC", True))
|
33 |
|
|
|
41 |
|
42 |
def restart_space():
|
43 |
api.restart_space(
|
44 |
+
repo_id="BearSean/leaderboard-test", token=H4_TOKEN
|
45 |
)
|
46 |
|
47 |
eval_queue, requested_models, eval_results = load_all_info_from_hub(QUEUE_REPO, RESULTS_REPO, EVAL_REQUESTS_PATH, EVAL_RESULTS_PATH)
|