margsli commited on
Commit
5525065
β€’
1 Parent(s): e85616b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -360,7 +360,7 @@ def build_leaderboard_tab(elo_results_file, leaderboard_table_file, show_plot=Fa
360
  category_deets = gr.Markdown(default_category_details, elem_id="category_deets")
361
 
362
  full_table_vals = get_full_table(model_table_df)
363
- gr.Dataframe(
364
  headers=[
365
  "πŸ€– Model",
366
  "⭐ Task 1",
@@ -454,7 +454,7 @@ def build_leaderboard_tab(elo_results_file, leaderboard_table_file, show_plot=Fa
454
  leaderboard_md = make_category_arena_leaderboard_md(arena_df, arena_subset_df, name=category)
455
  return arena_values, leaderboard_md
456
 
457
- category_dropdown.change(update_leaderboard_and_plots, inputs=[category_dropdown], outputs=[elo_display_df, category_deets])
458
 
459
  with gr.Accordion(
460
  "πŸ“ Citation",
 
360
  category_deets = gr.Markdown(default_category_details, elem_id="category_deets")
361
 
362
  full_table_vals = get_full_table(model_table_df)
363
+ display_df = gr.Dataframe(
364
  headers=[
365
  "πŸ€– Model",
366
  "⭐ Task 1",
 
454
  leaderboard_md = make_category_arena_leaderboard_md(arena_df, arena_subset_df, name=category)
455
  return arena_values, leaderboard_md
456
 
457
+ category_dropdown.change(update_leaderboard_and_plots, inputs=[category_dropdown], outputs=[display_df, category_deets])
458
 
459
  with gr.Accordion(
460
  "πŸ“ Citation",