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