hysts HF Staff commited on
Commit
ce6b95c
·
1 Parent(s): 4399188
Files changed (1) hide show
  1. app.py +0 -24
app.py CHANGED
@@ -435,30 +435,6 @@ with gr.Blocks() as demo_leaderboard:
435
  shown_columns_dict[task_type.name] = shown_column
436
  checkboxes.append(shown_column)
437
 
438
- # with gr.Row(height=110):
439
- # shown_column = gr.CheckboxGroup(
440
- # show_label=False,
441
- # choices=[
442
- # c.name
443
- # for c in fields(AutoEvalColumn)
444
- # if not c.hidden and not c.never_hidden and not c.dummy and c.task_type == task_type
445
- # # and not c.average
446
- # # or (task_type == TaskType.AVG and c.average)
447
- # ],
448
- # value=[
449
- # c.name
450
- # for c in fields(AutoEvalColumn)
451
- # if c.displayed_by_default
452
- # and not c.hidden
453
- # and not c.never_hidden
454
- # and c.task_type == task_type
455
- # # and not c.average
456
- # # or (task_type == TaskType.AVG and c.average)
457
- # ],
458
- # elem_id="column-select",
459
- # container=False,
460
- # )
461
- # shown_columns_dict[task_type.name] = shown_column
462
  with gr.Accordion("Model Filter", open=True):
463
  with gr.Row():
464
  filter_columns_type = gr.CheckboxGroup(
 
435
  shown_columns_dict[task_type.name] = shown_column
436
  checkboxes.append(shown_column)
437
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
438
  with gr.Accordion("Model Filter", open=True):
439
  with gr.Row():
440
  filter_columns_type = gr.CheckboxGroup(