idolezal commited on
Commit
618e91b
β€’
1 Parent(s): 7bc6ac3

Sorted choices in "Category of benchmarks" dropdown menu

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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] + list(leaderboard_server.TASKS_CATEGORIES),
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,