hSterz commited on
Commit
6c28d60
·
1 Parent(s): a920cc8
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -62,6 +62,9 @@ LEADERBOARD_DF_N_CORRECT = get_leaderboard_df(EVAL_RESULTS_PATH, EVAL_REQUESTS_P
62
  def init_leaderboard(dataframe):
63
  if dataframe is None or dataframe.empty:
64
  raise ValueError("Leaderboard DataFrame is empty or None.")
 
 
 
65
  return Leaderboard(
66
  value=dataframe,
67
  datatype=[c.type for c in fields(AutoEvalColumn)],
 
62
  def init_leaderboard(dataframe):
63
  if dataframe is None or dataframe.empty:
64
  raise ValueError("Leaderboard DataFrame is empty or None.")
65
+
66
+ print(dataframe.columns)
67
+ print([c.name for c in fields(AutoEvalColumn) if c.hidden] + [c.name for c in Detail_Tasks])
68
  return Leaderboard(
69
  value=dataframe,
70
  datatype=[c.type for c in fields(AutoEvalColumn)],