Spaces:
Running
Running
Update app.py
Browse files
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
|
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
|
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 |
)
|