diff --git a/fastchat/constants.py b/fastchat/constants.py index 8ce44404d..eea4b59b3 100644 --- a/fastchat/constants.py +++ b/fastchat/constants.py @@ -15,10 +15,10 @@ # """ # SURVEY_LINK = "" -COLOR = "#008B8B" -SURVEY_LINK = f"""
-
- New Arena UI at BETA.lmarena.ai! Check it out & give feedback! +COLOR = "#F11414" +SURVEY_LINK = f"""
+
+ 🔔 New Arena UI at lmarena.ai/leaderboard! Check it out and give feedback!
""" diff --git a/fastchat/serve/monitor/monitor.py b/fastchat/serve/monitor/monitor.py index 55851654e..462e38187 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_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"],