From 1df2563f6732354d8d1abb468a5e2cb0bd590113 Mon Sep 17 00:00:00 2001 From: Wei-Lin Chiang Date: Mon, 2 Jun 2025 08:00:24 -0700 Subject: [PATCH 1/4] Update constants.py --- fastchat/constants.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/fastchat/constants.py b/fastchat/constants.py index 8ce44404d..a2f312f46 100644 --- a/fastchat/constants.py +++ b/fastchat/constants.py @@ -16,9 +16,9 @@ # SURVEY_LINK = "" COLOR = "#008B8B" -SURVEY_LINK = f"""
-
- New Arena UI at BETA.lmarena.ai! Check it out & give feedback! +SURVEY_LINK = f"""
+
+ 🔔 New Arena UI at lmarena.ai/leaderboard! Check it out and give feedback!
""" From 3c7eab739d46e0371d1042a5aa081b7f6988f5b2 Mon Sep 17 00:00:00 2001 From: Wei-Lin Chiang Date: Mon, 2 Jun 2025 08:04:55 -0700 Subject: [PATCH 2/4] Update monitor.py --- fastchat/serve/monitor/monitor.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/fastchat/serve/monitor/monitor.py b/fastchat/serve/monitor/monitor.py index 55851654e..a7ba8ba02 100644 --- a/fastchat/serve/monitor/monitor.py +++ b/fastchat/serve/monitor/monitor.py @@ -438,7 +438,7 @@ def build_arena_tab( arena_dfs = {} category_elo_results = {} - last_updated_time = elo_results["full"]["last_updated_datetime"].split(" ")[0] + last_updated_time = str(elo_results["full"]["last_updated_datetime"]).split(" ")[0] for k in key_to_category_name.keys(): if k not in elo_results: @@ -964,9 +964,9 @@ def build_leaderboard_tab(
""", ) - last_updated_time = elo_results_text["full"][ + last_updated_time = str(elo_results_text["full"][ "last_updated_datetime" - ].split(" ")[0] + ]).split(" ")[0] gr.Markdown( make_arena_leaderboard_md( elo_results_text["full"]["leaderboard_table_df"], From d87fe668b9428ee301e09676a26bdd09aa3d4e7c Mon Sep 17 00:00:00 2001 From: Wei-Lin Chiang Date: Mon, 2 Jun 2025 08:16:41 -0700 Subject: [PATCH 3/4] Update constants.py --- fastchat/constants.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fastchat/constants.py b/fastchat/constants.py index a2f312f46..eea4b59b3 100644 --- a/fastchat/constants.py +++ b/fastchat/constants.py @@ -15,7 +15,7 @@ #
""" # SURVEY_LINK = "" -COLOR = "#008B8B" +COLOR = "#F11414" SURVEY_LINK = f"""
🔔 New Arena UI at lmarena.ai/leaderboard! Check it out and give feedback! From 540d1705afaf236900faa71237617be432aa8ba7 Mon Sep 17 00:00:00 2001 From: Wei-Lin Chiang Date: Mon, 2 Jun 2025 15:19:55 +0000 Subject: [PATCH 4/4] format --- fastchat/serve/monitor/monitor.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/fastchat/serve/monitor/monitor.py b/fastchat/serve/monitor/monitor.py index a7ba8ba02..462e38187 100644 --- a/fastchat/serve/monitor/monitor.py +++ b/fastchat/serve/monitor/monitor.py @@ -964,9 +964,9 @@ def build_leaderboard_tab(
""", ) - last_updated_time = str(elo_results_text["full"][ - "last_updated_datetime" - ]).split(" ")[0] + last_updated_time = str( + elo_results_text["full"]["last_updated_datetime"] + ).split(" ")[0] gr.Markdown( make_arena_leaderboard_md( elo_results_text["full"]["leaderboard_table_df"],