Spaces:
Runtime error
Runtime error
Try to highlight wins
Browse files
server.py
CHANGED
@@ -270,6 +270,7 @@ class LeaderboardServer:
|
|
270 |
dataframe = dataframe.rename(
|
271 |
columns=attributes_map_word_to_header
|
272 |
)
|
|
|
273 |
return dataframe
|
274 |
|
275 |
def get_leaderboard(self, pre_submit=None, category=None):
|
|
|
270 |
dataframe = dataframe.rename(
|
271 |
columns=attributes_map_word_to_header
|
272 |
)
|
273 |
+
dataframe.style.highlight_max(color='lightgreen', axis=0)
|
274 |
return dataframe
|
275 |
|
276 |
def get_leaderboard(self, pre_submit=None, category=None):
|