Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Revert 45105f7
Browse files
app.py
CHANGED
@@ -317,24 +317,28 @@ for col in leaderboard_df_filtered.columns:
|
|
317 |
with gr.Blocks() as demo_leaderboard:
|
318 |
with gr.Row():
|
319 |
with gr.Column():
|
320 |
-
|
321 |
-
|
322 |
-
|
323 |
-
|
324 |
-
|
325 |
-
|
326 |
-
|
327 |
-
|
328 |
-
|
329 |
-
|
330 |
-
|
331 |
-
|
332 |
-
|
333 |
-
|
334 |
-
|
335 |
-
|
336 |
-
|
337 |
-
|
|
|
|
|
|
|
|
|
338 |
with gr.Row():
|
339 |
deleted_models_visibility = gr.Checkbox(label="Show private/deleted models", value=False)
|
340 |
merged_models_visibility = gr.Checkbox(label="Show merges", value=False)
|
|
|
317 |
with gr.Blocks() as demo_leaderboard:
|
318 |
with gr.Row():
|
319 |
with gr.Column():
|
320 |
+
with gr.Row():
|
321 |
+
search_bar = gr.Textbox(
|
322 |
+
placeholder=" 🔍 Search for your model (separate multiple queries with `;`) and press ENTER...",
|
323 |
+
show_label=False,
|
324 |
+
elem_id="search-bar",
|
325 |
+
)
|
326 |
+
with gr.Row():
|
327 |
+
shown_columns = gr.CheckboxGroup(
|
328 |
+
choices=[
|
329 |
+
c.name
|
330 |
+
for c in fields(AutoEvalColumn)
|
331 |
+
if not c.hidden and not c.never_hidden # and not c.dummy
|
332 |
+
],
|
333 |
+
value=[
|
334 |
+
c.name
|
335 |
+
for c in fields(AutoEvalColumn)
|
336 |
+
if c.displayed_by_default and not c.hidden and not c.never_hidden
|
337 |
+
],
|
338 |
+
label="Select columns to show",
|
339 |
+
elem_id="column-select",
|
340 |
+
interactive=True,
|
341 |
+
)
|
342 |
with gr.Row():
|
343 |
deleted_models_visibility = gr.Checkbox(label="Show private/deleted models", value=False)
|
344 |
merged_models_visibility = gr.Checkbox(label="Show merges", value=False)
|