Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
t0-0
commited on
Commit
·
7bd9cc5
1
Parent(s):
4c3eac0
Set Accordion to open by default and remove label from checkbox group
Browse files
app.py
CHANGED
@@ -292,10 +292,10 @@ with gr.Blocks() as demo_leaderboard:
|
|
292 |
label = "Model details"
|
293 |
else:
|
294 |
label = task_type.value
|
295 |
-
with gr.Accordion(label, open=
|
296 |
with gr.Row():
|
297 |
shown_column = gr.CheckboxGroup(
|
298 |
-
|
299 |
choices=[
|
300 |
c.name
|
301 |
for c in fields(AutoEvalColumn)
|
|
|
292 |
label = "Model details"
|
293 |
else:
|
294 |
label = task_type.value
|
295 |
+
with gr.Accordion(label, open=True, elem_classes="accordion"):
|
296 |
with gr.Row():
|
297 |
shown_column = gr.CheckboxGroup(
|
298 |
+
show_label=False,
|
299 |
choices=[
|
300 |
c.name
|
301 |
for c in fields(AutoEvalColumn)
|