idolezal commited on
Commit
886492f
1 Parent(s): 849f284

Changed delimeter between team name and model name

Browse files
Files changed (1) hide show
  1. server.py +1 -1
server.py CHANGED
@@ -263,7 +263,7 @@ class LeaderboardServer:
263
 
264
  model_link = data["metadata"]["link_to_model"]
265
  model_title = data["metadata"]["team_name"] + "/" + data["metadata"]["model_name"]
266
- model_title_abbr = self.abbreviate(data["metadata"]["team_name"], 14) + "/" + self.abbreviate(data["metadata"]["model_name"], 14)
267
  local_results["model"] = f'<a href={xmlQuoteAttr(model_link)} title={xmlQuoteAttr(model_title)}>{xmlEscape(model_title_abbr, MARKDOWN_SPECIAL_CHARACTERS)}</a>'
268
  release = data["metadata"].get("submission_timestamp")
269
  release = time.strftime("%Y-%m-%d", time.gmtime(release)) if release else "N/A"
 
263
 
264
  model_link = data["metadata"]["link_to_model"]
265
  model_title = data["metadata"]["team_name"] + "/" + data["metadata"]["model_name"]
266
+ model_title_abbr = self.abbreviate(data["metadata"]["team_name"], 28) + "\n" + self.abbreviate(data["metadata"]["model_name"], 28)
267
  local_results["model"] = f'<a href={xmlQuoteAttr(model_link)} title={xmlQuoteAttr(model_title)}>{xmlEscape(model_title_abbr, MARKDOWN_SPECIAL_CHARACTERS)}</a>'
268
  release = data["metadata"].get("submission_timestamp")
269
  release = time.strftime("%Y-%m-%d", time.gmtime(release)) if release else "N/A"