idolezal commited on
Commit
7105389
ยท
1 Parent(s): cadd95e
Files changed (1) hide show
  1. server.py +2 -2
server.py CHANGED
@@ -104,7 +104,7 @@ class LeaderboardServer:
104
  if metric_value is not None:
105
  local_results[task + "_" + metric] = metric_value
106
 
107
- local_results["submission_id"] = submission_id
108
 
109
  if self.pre_submit and submission_id == self.pre_submit.submission_id:
110
  processed_results.insert(0, local_results)
@@ -112,7 +112,7 @@ class LeaderboardServer:
112
  processed_results.append(local_results)
113
  dataframe = pd.DataFrame.from_records(processed_results)
114
  df_order = (
115
- ["submission_id"]
116
  + list(self.tasks_metadata.keys())
117
  + [
118
  col
 
104
  if metric_value is not None:
105
  local_results[task + "_" + metric] = metric_value
106
 
107
+ local_results["model"] = f'<a href={data["metadata"]["link_to_model"]}>{submission_id}</a>'
108
 
109
  if self.pre_submit and submission_id == self.pre_submit.submission_id:
110
  processed_results.insert(0, local_results)
 
112
  processed_results.append(local_results)
113
  dataframe = pd.DataFrame.from_records(processed_results)
114
  df_order = (
115
+ ["model"]
116
  + list(self.tasks_metadata.keys())
117
  + [
118
  col