Spaces:
Running
Running
XufengDuan
commited on
Commit
•
06a62df
1
Parent(s):
d49a57f
update scripts
Browse files
app.py
CHANGED
@@ -38,10 +38,9 @@ def restart_space():
|
|
38 |
def init_space():
|
39 |
#dataset_df = get_dataset_summary_table(file_path='blog/Hallucination-Leaderboard-Summary.csv')
|
40 |
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
ui_snapshot_download(repo_id=RESULTS_REPO, local_dir=EVAL_RESULTS_PATH, repo_type="dataset", tqdm_class=None, etag_timeout=30)
|
45 |
|
46 |
original_df = get_leaderboard_df(EVAL_RESULTS_PATH, EVAL_REQUESTS_PATH, utils.COLS, utils.BENCHMARK_COLS)
|
47 |
|
|
|
38 |
def init_space():
|
39 |
#dataset_df = get_dataset_summary_table(file_path='blog/Hallucination-Leaderboard-Summary.csv')
|
40 |
|
41 |
+
|
42 |
+
ui_snapshot_download(repo_id=QUEUE_REPO, local_dir=EVAL_REQUESTS_PATH, repo_type="dataset", tqdm_class=None, etag_timeout=30)
|
43 |
+
ui_snapshot_download(repo_id=RESULTS_REPO, local_dir=EVAL_RESULTS_PATH, repo_type="dataset", tqdm_class=None, etag_timeout=30)
|
|
|
44 |
|
45 |
original_df = get_leaderboard_df(EVAL_RESULTS_PATH, EVAL_REQUESTS_PATH, utils.COLS, utils.BENCHMARK_COLS)
|
46 |
|