Spaces:
Running
Running
Update app.py
Browse files
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=[
|
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",
|