Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Update
Browse files
app.py
CHANGED
@@ -362,10 +362,7 @@ with gr.Blocks() as demo_leaderboard:
|
|
362 |
select_avg_only_button = gr.Button(SELECT_AVG_ONLY_BUTTON_LABEL_JA, size="sm")
|
363 |
|
364 |
for task_type in TaskType:
|
365 |
-
if task_type == TaskType.NotTask
|
366 |
-
label = "Model details"
|
367 |
-
else:
|
368 |
-
label = task_type.value
|
369 |
with gr.Accordion(label, open=True, elem_classes="accordion"):
|
370 |
with gr.Row(height=110):
|
371 |
shown_column = gr.CheckboxGroup(
|
|
|
362 |
select_avg_only_button = gr.Button(SELECT_AVG_ONLY_BUTTON_LABEL_JA, size="sm")
|
363 |
|
364 |
for task_type in TaskType:
|
365 |
+
label = "Model details" if task_type == TaskType.NotTask else task_type.value
|
|
|
|
|
|
|
366 |
with gr.Accordion(label, open=True, elem_classes="accordion"):
|
367 |
with gr.Row(height=110):
|
368 |
shown_column = gr.CheckboxGroup(
|