mgyigit commited on
Commit
670b346
·
verified ·
1 Parent(s): 0a959e9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -108,7 +108,7 @@ def update_leaderboard(selected_methods, selected_metrics):
108
  styler = (
109
  df
110
  .style
111
- .apply(highlight_top5, axis=0, subset=numeric_cols) # green shades
112
  .applymap(style_method, subset=["Method"]) # text colours
113
  .format(precision=4) # keep tidy numbers
114
  )
@@ -256,7 +256,7 @@ with block:
256
  styler = (
257
  baseline_value
258
  .style
259
- .apply(highlight_top5, axis=0, subset=numeric_cols) # green shades
260
  .applymap(style_method, subset=["Method"]) # text colours
261
  .format(precision=4) # keep tidy numbers
262
  )
 
108
  styler = (
109
  df
110
  .style
111
+ .apply(highlight_top5, axis=0) # green shades
112
  .applymap(style_method, subset=["Method"]) # text colours
113
  .format(precision=4) # keep tidy numbers
114
  )
 
256
  styler = (
257
  baseline_value
258
  .style
259
+ .apply(highlight_top5, axis=0) # green shades
260
  .applymap(style_method, subset=["Method"]) # text colours
261
  .format(precision=4) # keep tidy numbers
262
  )