Spaces:
Running
Running
Foo
Browse files
server.py
CHANGED
@@ -101,6 +101,7 @@ class LeaderboardServer:
|
|
101 |
col != "submission_id" and col not in self.tasks_metadata.keys()])
|
102 |
dataframe = dataframe[df_order]
|
103 |
dataframe = dataframe.rename(columns={key: value["name"] for key, value in self.tasks_metadata.items()})
|
|
|
104 |
return dataframe
|
105 |
|
106 |
def start_tournament(self, new_model_id, new_model_file):
|
|
|
101 |
col != "submission_id" and col not in self.tasks_metadata.keys()])
|
102 |
dataframe = dataframe[df_order]
|
103 |
dataframe = dataframe.rename(columns={key: value["name"] for key, value in self.tasks_metadata.items()})
|
104 |
+
dataframe = dataframe.style.format("{:.1f}")
|
105 |
return dataframe
|
106 |
|
107 |
def start_tournament(self, new_model_id, new_model_file):
|