Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -55,7 +55,10 @@ def load_leaderboard_table_csv(filename, add_hyperlink=True):
|
|
55 |
for j in range(len(heads)):
|
56 |
item = {}
|
57 |
for h, v in zip(heads, row):
|
58 |
-
|
|
|
|
|
|
|
59 |
if add_hyperlink:
|
60 |
item["Model"] = model_hyperlink(item["Model"], item["Link"])
|
61 |
rows.append(item)
|
|
|
55 |
for j in range(len(heads)):
|
56 |
item = {}
|
57 |
for h, v in zip(heads, row):
|
58 |
+
if h != "Model" and h != "Link" and h != "Language Model" and h != "Open Source":
|
59 |
+
item[h] = int(v)
|
60 |
+
else:
|
61 |
+
item[h] = v
|
62 |
if add_hyperlink:
|
63 |
item["Model"] = model_hyperlink(item["Model"], item["Link"])
|
64 |
rows.append(item)
|