idolezal commited on
Commit
e537ea4
1 Parent(s): 4f30785
Files changed (1) hide show
  1. app.py +19 -20
app.py CHANGED
@@ -490,27 +490,26 @@ def gradio_app():
490
 
491
  leaderboard_dataframe = leaderboard_server.get_leaderboard(category=leaderboard_server.TASKS_CATEGORY_OVERALL)
492
 
493
- with gr.Row():
494
- Leaderboard(
495
- value=leaderboard_dataframe,
496
- select_columns=SelectColumns(
497
- default_selection=None,
498
- cant_deselect=["Model"],
499
- label="Select Columns to Display:",
 
 
 
 
 
 
 
 
 
 
500
  ),
501
- search_columns=["Model", "Type"],
502
- hide_columns=[],
503
- filter_columns=[
504
- ColumnFilter("Type", type="checkboxgroup", label="Model types"),
505
- ColumnFilter(
506
- "# θ (B)",
507
- type="slider",
508
- min=0.01,
509
- max=150, # TODO: Max in leaderboard_dataframe
510
- label="Select the number of parameters (B)",
511
- ),
512
- ],
513
- )
514
 
515
  with gr.Row():
516
  leaderboard_table = gr.DataFrame(
 
490
 
491
  leaderboard_dataframe = leaderboard_server.get_leaderboard(category=leaderboard_server.TASKS_CATEGORY_OVERALL)
492
 
493
+ Leaderboard(
494
+ value=leaderboard_dataframe,
495
+ select_columns=SelectColumns(
496
+ default_selection=None,
497
+ cant_deselect=["Model"],
498
+ label="Select Columns to Display:",
499
+ ),
500
+ search_columns=["Model", "Type"],
501
+ hide_columns=[],
502
+ filter_columns=[
503
+ ColumnFilter("Type", type="checkboxgroup", label="Model types"),
504
+ ColumnFilter(
505
+ "# θ (B)",
506
+ type="slider",
507
+ min=0.01,
508
+ max=150, # TODO: Max in leaderboard_dataframe
509
+ label="Select the number of parameters (B)",
510
  ),
511
+ ],
512
+ )
 
 
 
 
 
 
 
 
 
 
 
513
 
514
  with gr.Row():
515
  leaderboard_table = gr.DataFrame(