idolezal commited on
Commit
23adf76
β€’
1 Parent(s): 83bc9f9
Files changed (1) hide show
  1. server.py +1 -0
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):