Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Clean up
Browse files
app.py
CHANGED
@@ -245,28 +245,26 @@ for col in leaderboard_df_filtered.columns:
|
|
245 |
with gr.Blocks() as demo_leaderboard:
|
246 |
with gr.Row():
|
247 |
with gr.Column():
|
248 |
-
|
249 |
-
|
250 |
-
|
251 |
-
|
252 |
-
|
253 |
-
|
254 |
-
|
255 |
-
|
256 |
-
|
257 |
-
|
258 |
-
|
259 |
-
|
260 |
-
|
261 |
-
|
262 |
-
|
263 |
-
|
264 |
-
|
265 |
-
|
266 |
-
|
267 |
-
|
268 |
-
interactive=True,
|
269 |
-
)
|
270 |
with gr.Row():
|
271 |
deleted_models_visibility = gr.Checkbox(label="Show private/deleted models", value=False)
|
272 |
merged_models_visibility = gr.Checkbox(label="Show merges", value=False)
|
|
|
245 |
with gr.Blocks() as demo_leaderboard:
|
246 |
with gr.Row():
|
247 |
with gr.Column():
|
248 |
+
search_bar = gr.Textbox(
|
249 |
+
placeholder=" 🔍 Search for your model (separate multiple queries with `;`) and press ENTER...",
|
250 |
+
show_label=False,
|
251 |
+
elem_id="search-bar",
|
252 |
+
)
|
253 |
+
shown_columns = gr.CheckboxGroup(
|
254 |
+
choices=[
|
255 |
+
c.name
|
256 |
+
for c in fields(AutoEvalColumn)
|
257 |
+
if not c.hidden and not c.never_hidden# and not c.dummy
|
258 |
+
],
|
259 |
+
value=[
|
260 |
+
c.name
|
261 |
+
for c in fields(AutoEvalColumn)
|
262 |
+
if c.displayed_by_default and not c.hidden and not c.never_hidden
|
263 |
+
],
|
264 |
+
label="Select columns to show",
|
265 |
+
elem_id="column-select",
|
266 |
+
interactive=True,
|
267 |
+
)
|
|
|
|
|
268 |
with gr.Row():
|
269 |
deleted_models_visibility = gr.Checkbox(label="Show private/deleted models", value=False)
|
270 |
merged_models_visibility = gr.Checkbox(label="Show merges", value=False)
|