Skip to content

Commit

Permalink
fix bug (lm-sys#3587)
Browse files Browse the repository at this point in the history
  • Loading branch information
infwinston authored Oct 14, 2024
1 parent f1b8fda commit 63d5da2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fastchat/serve/monitor/monitor.py
Original file line number Diff line number Diff line change
Expand Up @@ -498,7 +498,7 @@ def update_leaderboard_and_plots(category, filters):
else arena_overall_sc_df,
hidden_models=(
None
if len(filters) > 0 and "Show Deprecate" in filters
if len(filters) > 0 and "Show Deprecated" in filters
else deprecated_model_name
),
is_overall=category == "Overall",
Expand Down Expand Up @@ -609,7 +609,7 @@ def update_leaderboard_and_plots(category, filters):
)
with gr.Column(scale=2):
category_checkbox = gr.CheckboxGroup(
["Style Control Score", "Show Deprecated"],
["Style Control", "Show Deprecated"],
label="Apply filter",
info="",
)
Expand Down

0 comments on commit 63d5da2

Please sign in to comment.