fix
Browse files
app.py
CHANGED
@@ -105,7 +105,7 @@ def load_leaderboard_table_csv(filename, add_hyperlink=True):
|
|
105 |
for j in range(len(heads)):
|
106 |
item = {}
|
107 |
for h, v in zip(heads, row):
|
108 |
-
if h == "Arena Elo":
|
109 |
if v != "-":
|
110 |
v = int(ast.literal_eval(v))
|
111 |
else:
|
@@ -174,7 +174,7 @@ def build_leaderboard_tab(elo_results_file, leaderboard_table_file):
|
|
174 |
data = load_leaderboard_table_csv(leaderboard_table_file)
|
175 |
headers = [
|
176 |
"Model",
|
177 |
-
"Arena Elo
|
178 |
"MT-bench (score)",
|
179 |
"MMLU",
|
180 |
"License",
|
|
|
105 |
for j in range(len(heads)):
|
106 |
item = {}
|
107 |
for h, v in zip(heads, row):
|
108 |
+
if h == "Arena Elo rating":
|
109 |
if v != "-":
|
110 |
v = int(ast.literal_eval(v))
|
111 |
else:
|
|
|
174 |
data = load_leaderboard_table_csv(leaderboard_table_file)
|
175 |
headers = [
|
176 |
"Model",
|
177 |
+
"Arena Elo",
|
178 |
"MT-bench (score)",
|
179 |
"MMLU",
|
180 |
"License",
|