yangzhitao commited on
Commit
944602c
·
1 Parent(s): 36e7351

fix: update model type visibility in leaderboard and mark as not supported

Browse files
Files changed (2) hide show
  1. app.py +1 -1
  2. src/display/utils.py +1 -1
app.py CHANGED
@@ -218,7 +218,7 @@ def init_leaderboard_tabs(
218
  value=default_selected,
219
  interactive=True,
220
  )
221
- with gr.Column(scale=1):
222
  _model_type = gr.CheckboxGroup(
223
  [],
224
  label="Model Type",
 
218
  value=default_selected,
219
  interactive=True,
220
  )
221
+ with gr.Column(scale=1, visible=False):
222
  _model_type = gr.CheckboxGroup(
223
  [],
224
  label="Model Type",
src/display/utils.py CHANGED
@@ -68,7 +68,7 @@ class _AutoEvalColumnBase(BaseModel):
68
  model: ColumnContent = ColumnContent.new("Model", "markdown", True, never_hidden=True)
69
  average: ColumnContent = ColumnContent.new("Average ⬆️", "number", True)
70
 
71
- model_type: ColumnContent = ColumnContent.new("Type", "str")
72
  architecture: ColumnContent = ColumnContent.new("Architecture", "str", not_supported=True)
73
  weight_type: ColumnContent = ColumnContent.new("Weight type", "str", hidden=True)
74
  precision: ColumnContent = ColumnContent.new("Precision", "str", not_supported=True)
 
68
  model: ColumnContent = ColumnContent.new("Model", "markdown", True, never_hidden=True)
69
  average: ColumnContent = ColumnContent.new("Average ⬆️", "number", True)
70
 
71
+ model_type: ColumnContent = ColumnContent.new("Type", "str", not_supported=True) # TODO: Hide for now
72
  architecture: ColumnContent = ColumnContent.new("Architecture", "str", not_supported=True)
73
  weight_type: ColumnContent = ColumnContent.new("Weight type", "str", hidden=True)
74
  precision: ColumnContent = ColumnContent.new("Precision", "str", not_supported=True)