djstrong commited on
Commit
d20395a
1 Parent(s): 1a71a51

change colors

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -72,8 +72,8 @@ def style_df(df: pd.DataFrame) -> Styler:
72
  # new_df['polish_poleval2018_task3_test_10k'] = -new_df['polish_poleval2018_task3_test_10k']
73
  # new_df = new_df.to_frame()
74
 
75
- leaderboard_df_styled = df.style.background_gradient(cmap="viridis")
76
- leaderboard_df_styled = leaderboard_df_styled.background_gradient(cmap="RdYlGn", subset=['poleval2018_task3_test_10k'])
77
  rounding = {'#Params (B)': "{:.1f}"}
78
  for task in Tasks:
79
  rounding[task.value.col_name] = "{:.2f}"
 
72
  # new_df['polish_poleval2018_task3_test_10k'] = -new_df['polish_poleval2018_task3_test_10k']
73
  # new_df = new_df.to_frame()
74
 
75
+ leaderboard_df_styled = df.style.background_gradient(cmap="RdYlGn")
76
+ leaderboard_df_styled = leaderboard_df_styled.background_gradient(cmap="GnYlRd", subset=['poleval2018_task3_test_10k', '#Params (B)'])
77
  rounding = {'#Params (B)': "{:.1f}"}
78
  for task in Tasks:
79
  rounding[task.value.col_name] = "{:.2f}"