Spaces:
Runtime error
Runtime error
next step
Browse files
app.py
CHANGED
@@ -493,12 +493,23 @@ def gradio_app():
|
|
493 |
with gr.Row():
|
494 |
Leaderboard(
|
495 |
value=leaderboard_dataframe,
|
496 |
-
select_columns=
|
497 |
-
|
498 |
-
"
|
499 |
-
|
500 |
-
|
501 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
502 |
)
|
503 |
|
504 |
with gr.Row():
|
|
|
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():
|