Skip to content

Commit e46ad65

Browse files
committed
formatting/i ran it and it works :p
1 parent 4686e7d commit e46ad65

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

fastchat/serve/monitor/monitor.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@
4545
k2c[k + "_style_control"] = v + "_style_control"
4646
key_to_category_name = k2c
4747

48+
4849
notebook_url = (
4950
"https://colab.research.google.com/drive/1KdwokPjirkTmpO_P1WByFNFiqxWQquwH"
5051
)

fastchat/serve/monitor/monitor_md.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,10 @@ def make_category_arena_leaderboard_md(arena_df, arena_subset_df, name="Overall"
136136
total_subset_votes = sum(arena_subset_df["num_battles"]) // 2
137137
total_subset_models = len(arena_subset_df)
138138
if "w/ Style Control" in name:
139-
explanation = cat_name_to_explanation[name.replace(" w/ Style Control", "")] + " with Style Control. See details in [blog post](https://lmsys.org/blog/2024-08-28-style-control/)."
139+
explanation = (
140+
cat_name_to_explanation[name.replace(" w/ Style Control", "")]
141+
+ " with Style Control. See details in [blog post](https://lmsys.org/blog/2024-08-28-style-control/)."
142+
)
140143
else:
141144
explanation = cat_name_to_explanation[name]
142145
leaderboard_md = f"""### {explanation}

0 commit comments

Comments
 (0)