Spaces:
Runtime error
Runtime error
show gated
Browse files
app.py
CHANGED
@@ -79,9 +79,9 @@ def style_df(df: pd.DataFrame) -> Styler:
|
|
79 |
inverted_colors_columns = []
|
80 |
if "poleval2018_task3_test_10k" in df.columns:
|
81 |
inverted_colors_columns.append("poleval2018_task3_test_10k")
|
82 |
-
if
|
83 |
inverted_colors_columns.append("#Params (B)'")
|
84 |
-
|
85 |
leaderboard_df_styled = leaderboard_df_styled.background_gradient(cmap="RdYlGn_r", subset=inverted_colors_columns)
|
86 |
rounding = {'#Params (B)': "{:.1f}"}
|
87 |
for task in Tasks:
|
|
|
79 |
inverted_colors_columns = []
|
80 |
if "poleval2018_task3_test_10k" in df.columns:
|
81 |
inverted_colors_columns.append("poleval2018_task3_test_10k")
|
82 |
+
if '#Params (B)' in df.columns:
|
83 |
inverted_colors_columns.append("#Params (B)'")
|
84 |
+
|
85 |
leaderboard_df_styled = leaderboard_df_styled.background_gradient(cmap="RdYlGn_r", subset=inverted_colors_columns)
|
86 |
rounding = {'#Params (B)': "{:.1f}"}
|
87 |
for task in Tasks:
|