idolezal commited on
Commit
fd7c00b
1 Parent(s): 7474e5d
Files changed (1) hide show
  1. server.py +2 -2
server.py CHANGED
@@ -106,8 +106,8 @@ class LeaderboardServer:
106
  local_results[task + "_" + metric] = metric_value
107
 
108
  model_link = data["metadata"]["link_to_model"]
109
- model_title = data["metadata"]["model_name"] + "/" + data["metadata"]["model_type"]
110
- model_title_abbr = self.abbreviate(data["metadata"]["model_name"], 14) + "/" + self.abbreviate(data["metadata"]["model_type"], 14)
111
  local_results["model"] = f'<a href="{model_link}" title="{model_title}">{model_title_abbr}</a>'
112
  release = data["metadata"].get("submission_timestamp")
113
  release = time.strftime("%Y-%m-%d", time.gmtime(release)) if release else "N/A"
 
106
  local_results[task + "_" + metric] = metric_value
107
 
108
  model_link = data["metadata"]["link_to_model"]
109
+ model_title = data["metadata"]["team_name"] + "/" + data["metadata"]["model_name"]
110
+ model_title_abbr = self.abbreviate(data["metadata"]["team_name"], 14) + "/" + self.abbreviate(data["metadata"]["model_name"], 14)
111
  local_results["model"] = f'<a href="{model_link}" title="{model_title}">{model_title_abbr}</a>'
112
  release = data["metadata"].get("submission_timestamp")
113
  release = time.strftime("%Y-%m-%d", time.gmtime(release)) if release else "N/A"