idolezal commited on
Commit
8185501
1 Parent(s): 6bc42ff

Finally it works

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -214,14 +214,14 @@ with gr.Blocks(theme=gr.themes.Soft(text_size=text_md), css=custom_css) as main:
214
  with gr.Row():
215
  category_of_tasks = gr.Dropdown(
216
  choices=[leaderboard_server.tasks_category_overall] + list(leaderboard_server.tasks_categories),
217
- value=list(leaderboard_server.tasks_categories)[0],
218
- label="Category of benchmark",
219
  interactive=True,
220
  )
221
 
222
  with gr.Row():
223
  results_table = gr.DataFrame(
224
- leaderboard_server.get_leaderboard(category=list(leaderboard_server.tasks_categories)[0]),
225
  interactive=False,
226
  label=None,
227
  visible=True,
 
214
  with gr.Row():
215
  category_of_tasks = gr.Dropdown(
216
  choices=[leaderboard_server.tasks_category_overall] + list(leaderboard_server.tasks_categories),
217
+ value=leaderboard_server.tasks_category_overall,
218
+ label="Category of benchmarks",
219
  interactive=True,
220
  )
221
 
222
  with gr.Row():
223
  results_table = gr.DataFrame(
224
+ leaderboard_server.get_leaderboard(),
225
  interactive=False,
226
  label=None,
227
  visible=True,