StarscreamDeceptions commited on
Commit
56f496e
Β·
verified Β·
1 Parent(s): e0815ac

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -54,6 +54,8 @@ except Exception:
54
 
55
 
56
  LEADERBOARD_DF = get_leaderboard_df(EVAL_RESULTS_PATH, EVAL_REQUESTS_PATH, COLS, BENCHMARK_COLS)
 
 
57
  # print("Before calling init_leaderboard:", LEADERBOARD_DF)
58
 
59
  (
@@ -85,6 +87,7 @@ def init_leaderboard(dataframe):
85
  # min=0.01,
86
  # max=150,
87
  label="Select the number of parameters (B)",
 
88
  ),
89
  ColumnFilter(
90
  AutoEvalColumn.still_on_hub.name, type="boolean", label="Deleted/incomplete", default=False
 
54
 
55
 
56
  LEADERBOARD_DF = get_leaderboard_df(EVAL_RESULTS_PATH, EVAL_REQUESTS_PATH, COLS, BENCHMARK_COLS)
57
+ unique_params = LEADERBOARD_DF['params'].unique()
58
+ choices = list(unique_params)
59
  # print("Before calling init_leaderboard:", LEADERBOARD_DF)
60
 
61
  (
 
87
  # min=0.01,
88
  # max=150,
89
  label="Select the number of parameters (B)",
90
+ choices=choices
91
  ),
92
  ColumnFilter(
93
  AutoEvalColumn.still_on_hub.name, type="boolean", label="Deleted/incomplete", default=False