diff --git a/fastchat/serve/monitor/monitor.py b/fastchat/serve/monitor/monitor.py index 3d7f83b0e..afdfdd249 100644 --- a/fastchat/serve/monitor/monitor.py +++ b/fastchat/serve/monitor/monitor.py @@ -856,7 +856,14 @@ def build_leaderboard_tab( model_table_df = pd.DataFrame(data) with gr.Tabs() as tabs: - with gr.Tab("Ranking Breakdown", id=0): + with gr.Tab("Arena", id=0): + gr_plots = build_arena_tab( + elo_results_text, + model_table_df, + default_md, + show_plot=show_plot, + ) + with gr.Tab("📣 NEW: Overview", id=1): gr.Markdown( f"""
@@ -875,7 +882,7 @@ def build_leaderboard_tab( elem_id="leaderboard_markdown", ) combined_table = get_combined_table(elo_results_text, model_table_df) - gr_plots = build_category_leaderboard_tab( + build_category_leaderboard_tab( combined_table, "Task", selected_categories, @@ -897,13 +904,6 @@ def build_leaderboard_tab( """, elem_id="leaderboard_markdown", ) - with gr.Tab("Arena", id=1): - gr_plots = build_arena_tab( - elo_results_text, - model_table_df, - default_md, - show_plot=show_plot, - ) with gr.Tab("Arena (Vision)", id=2): build_arena_tab( elo_results_vision,