Clémentine commited on
Commit
c3110e4
1 Parent(s): cf6ad74
Files changed (1) hide show
  1. app.py +2 -2
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].remove_column("mail"))
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].remove_column("mail"))
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