ling99 commited on
Commit
fbaf0ee
·
verified ·
1 Parent(s): 23c612d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -53,11 +53,11 @@ 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
- 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
  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
  if add_hyperlink:
62
  item["Model"] = model_hyperlink(item["Model"], item["Link"])
63
  rows.append(item)