Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Clémentine
commited on
Commit
•
c3110e4
1
Parent(s):
cf6ad74
typo
Browse files
app.py
CHANGED
@@ -20,7 +20,7 @@ eval_results = {}
|
|
20 |
eval_dataframe = {}
|
21 |
for level in range(1, 4):
|
22 |
eval_results[level] = load_dataset(f"{owner}/BALM_ResultsLevel{level}", use_auth_token=BALM_TOKEN, split="dev")
|
23 |
-
eval_dataframe[level] = pd.DataFrame(eval_results[level].
|
24 |
|
25 |
def restart_space():
|
26 |
api.restart_space(repo_id=f"{owner}/BALM_Leaderboard", token=BALM_TOKEN)
|
@@ -70,7 +70,7 @@ def refresh():
|
|
70 |
eval_dataframe = {}
|
71 |
for level in range(1, 4):
|
72 |
eval_results[level] = load_dataset(f"{owner}/BALM_ResultsLevel{level}", use_auth_token=BALM_TOKEN, split="dev")
|
73 |
-
eval_dataframe[level] = pd.DataFrame(eval_results[level].
|
74 |
return eval_dataframe[1], eval_dataframe[2], eval_dataframe[3]
|
75 |
|
76 |
|
|
|
20 |
eval_dataframe = {}
|
21 |
for level in range(1, 4):
|
22 |
eval_results[level] = load_dataset(f"{owner}/BALM_ResultsLevel{level}", use_auth_token=BALM_TOKEN, split="dev")
|
23 |
+
eval_dataframe[level] = pd.DataFrame(eval_results[level].remove_columns("mail"))
|
24 |
|
25 |
def restart_space():
|
26 |
api.restart_space(repo_id=f"{owner}/BALM_Leaderboard", token=BALM_TOKEN)
|
|
|
70 |
eval_dataframe = {}
|
71 |
for level in range(1, 4):
|
72 |
eval_results[level] = load_dataset(f"{owner}/BALM_ResultsLevel{level}", use_auth_token=BALM_TOKEN, split="dev")
|
73 |
+
eval_dataframe[level] = pd.DataFrame(eval_results[level].remove_columns("mail"))
|
74 |
return eval_dataframe[1], eval_dataframe[2], eval_dataframe[3]
|
75 |
|
76 |
|