Spaces:
Running
Running
Sorted choices in "Category of benchmarks" dropdown menu
Browse files
app.py
CHANGED
@@ -238,7 +238,7 @@ with gr.Blocks(theme=gr.themes.Soft(text_size=text_md), css=custom_css) as main:
|
|
238 |
|
239 |
with gr.Row():
|
240 |
category_of_tasks = gr.Dropdown(
|
241 |
-
choices=[leaderboard_server.TASKS_CATEGORY_OVERALL] +
|
242 |
value=leaderboard_server.TASKS_CATEGORY_OVERALL,
|
243 |
label="Category of benchmarks",
|
244 |
interactive=True,
|
|
|
238 |
|
239 |
with gr.Row():
|
240 |
category_of_tasks = gr.Dropdown(
|
241 |
+
choices=[leaderboard_server.TASKS_CATEGORY_OVERALL] + sorted(leaderboard_server.TASKS_CATEGORIES),
|
242 |
value=leaderboard_server.TASKS_CATEGORY_OVERALL,
|
243 |
label="Category of benchmarks",
|
244 |
interactive=True,
|