simpleoier commited on
Commit
727edb4
β€’
1 Parent(s): d9feee8

Update src/display/utils.py

Browse files

Hide Type, ..., Hub, Model sha checkboxes

Files changed (1) hide show
  1. src/display/utils.py +7 -7
src/display/utils.py CHANGED
@@ -31,16 +31,16 @@ auto_eval_column_dict.append(["average", ColumnContent, ColumnContent("Average
31
  for task in Tasks:
32
  auto_eval_column_dict.append([task.name, ColumnContent, ColumnContent(task.value.col_name, "number", True)])
33
  # Model information
34
- auto_eval_column_dict.append(["model_type", ColumnContent, ColumnContent("Type", "str", False)])
35
- auto_eval_column_dict.append(["architecture", ColumnContent, ColumnContent("Architecture", "str", False)])
36
  auto_eval_column_dict.append(["weight_type", ColumnContent, ColumnContent("Weight type", "str", False, True)])
37
- auto_eval_column_dict.append(["precision", ColumnContent, ColumnContent("Precision", "str", False)])
38
- auto_eval_column_dict.append(["license", ColumnContent, ColumnContent("Hub License", "str", False)])
39
  # auto_eval_column_dict.append(["params", ColumnContent, ColumnContent("#Params (B)", "number", False)])
40
  auto_eval_column_dict.append(["params", ColumnContent, ColumnContent("#Params (B)", "number", False, dummy=True)])
41
- auto_eval_column_dict.append(["likes", ColumnContent, ColumnContent("Hub ❀️", "number", False)])
42
- auto_eval_column_dict.append(["still_on_hub", ColumnContent, ColumnContent("Available on the hub", "bool", False)])
43
- auto_eval_column_dict.append(["revision", ColumnContent, ColumnContent("Model sha", "str", False, False)])
44
  # Dummy column for the search bar (hidden by the custom CSS)
45
  auto_eval_column_dict.append(["dummy", ColumnContent, ColumnContent("model_name_for_query", "str", False, dummy=True)])
46
 
 
31
  for task in Tasks:
32
  auto_eval_column_dict.append([task.name, ColumnContent, ColumnContent(task.value.col_name, "number", True)])
33
  # Model information
34
+ auto_eval_column_dict.append(["model_type", ColumnContent, ColumnContent("Type", "str", False, dummy=True)])
35
+ auto_eval_column_dict.append(["architecture", ColumnContent, ColumnContent("Architecture", "str", False, dummy=True)])
36
  auto_eval_column_dict.append(["weight_type", ColumnContent, ColumnContent("Weight type", "str", False, True)])
37
+ auto_eval_column_dict.append(["precision", ColumnContent, ColumnContent("Precision", "str", False, dummy=True)])
38
+ auto_eval_column_dict.append(["license", ColumnContent, ColumnContent("Hub License", "str", False, dummy=True)])
39
  # auto_eval_column_dict.append(["params", ColumnContent, ColumnContent("#Params (B)", "number", False)])
40
  auto_eval_column_dict.append(["params", ColumnContent, ColumnContent("#Params (B)", "number", False, dummy=True)])
41
+ auto_eval_column_dict.append(["likes", ColumnContent, ColumnContent("Hub ❀️", "number", False, dummy=True)])
42
+ auto_eval_column_dict.append(["still_on_hub", ColumnContent, ColumnContent("Available on the hub", "bool", False, dummy=True)])
43
+ auto_eval_column_dict.append(["revision", ColumnContent, ColumnContent("Model sha", "str", False, dummy=True)])
44
  # Dummy column for the search bar (hidden by the custom CSS)
45
  auto_eval_column_dict.append(["dummy", ColumnContent, ColumnContent("model_name_for_query", "str", False, dummy=True)])
46