StarscreamDeceptions commited on
Commit
dfbeaa3
Β·
verified Β·
1 Parent(s): 70abcc8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -2
app.py CHANGED
@@ -54,9 +54,11 @@ except Exception:
54
 
55
 
56
  LEADERBOARD_DF = get_leaderboard_df(EVAL_RESULTS_PATH, EVAL_REQUESTS_PATH, COLS, BENCHMARK_COLS)
57
- print(LEADERBOARD_DF['#Params (B)'])
 
 
58
  unique_params = LEADERBOARD_DF['#Params (B)'].unique()
59
- choices = list(unique_params)
60
  # print("Before calling init_leaderboard:", LEADERBOARD_DF)
61
 
62
  (
 
54
 
55
 
56
  LEADERBOARD_DF = get_leaderboard_df(EVAL_RESULTS_PATH, EVAL_REQUESTS_PATH, COLS, BENCHMARK_COLS)
57
+ # print(LEADERBOARD_DF['#Params (B)'])
58
+ element_types = LEADERBOARD_DF['#Params (B)'].apply(type)
59
+ print(element_types)
60
  unique_params = LEADERBOARD_DF['#Params (B)'].unique()
61
+ choices = [str(param) for param in unique_params]
62
  # print("Before calling init_leaderboard:", LEADERBOARD_DF)
63
 
64
  (