djstrong commited on
Commit
cb384bf
1 Parent(s): 49a45d1
Files changed (1) hide show
  1. src/display/utils.py +2 -1
src/display/utils.py CHANGED
@@ -24,6 +24,7 @@ class ColumnContent:
24
  ## Leaderboard columns
25
  auto_eval_column_dict = []
26
  # Init
 
27
  auto_eval_column_dict.append(["model_type_symbol", ColumnContent, ColumnContent("T", "str", True, never_hidden=True)])
28
  auto_eval_column_dict.append(["model", ColumnContent, ColumnContent("Model", "markdown", True, never_hidden=True)])
29
  auto_eval_column_dict.append(["lang", ColumnContent, ColumnContent("Lang", "str", True)])
@@ -52,7 +53,7 @@ auto_eval_column_dict.append(["still_on_hub", ColumnContent, ColumnContent("Avai
52
  auto_eval_column_dict.append(["revision", ColumnContent, ColumnContent("Model sha", "str", False, False)])
53
  # Dummy column for the search bar (hidden by the custom CSS)
54
  auto_eval_column_dict.append(["dummy", ColumnContent, ColumnContent("model_name_for_query", "str", False, dummy=True)])
55
- auto_eval_column_dict.append(["rank", ColumnContent, ColumnContent("rank", "number", True, never_hidden=True)])
56
 
57
  # We use make dataclass to dynamically fill the scores from Tasks
58
  AutoEvalColumn = make_dataclass("AutoEvalColumn", auto_eval_column_dict, frozen=True)
 
24
  ## Leaderboard columns
25
  auto_eval_column_dict = []
26
  # Init
27
+ auto_eval_column_dict.append(["rank", ColumnContent, ColumnContent("rank", "number", True, never_hidden=True)])
28
  auto_eval_column_dict.append(["model_type_symbol", ColumnContent, ColumnContent("T", "str", True, never_hidden=True)])
29
  auto_eval_column_dict.append(["model", ColumnContent, ColumnContent("Model", "markdown", True, never_hidden=True)])
30
  auto_eval_column_dict.append(["lang", ColumnContent, ColumnContent("Lang", "str", True)])
 
53
  auto_eval_column_dict.append(["revision", ColumnContent, ColumnContent("Model sha", "str", False, False)])
54
  # Dummy column for the search bar (hidden by the custom CSS)
55
  auto_eval_column_dict.append(["dummy", ColumnContent, ColumnContent("model_name_for_query", "str", False, dummy=True)])
56
+
57
 
58
  # We use make dataclass to dynamically fill the scores from Tasks
59
  AutoEvalColumn = make_dataclass("AutoEvalColumn", auto_eval_column_dict, frozen=True)