devingulliver commited on
Commit
5feb6c2
1 Parent(s): a64c77d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -20,7 +20,7 @@ def filter_table(cols, name, type, arch, license):
20
  tmp["Type"] = tmp["Type"].apply(lambda x: x[0])
21
  tmp = tmp.rename({"Type": "T"}, axis=1)
22
  tmp["Name"] = tmp["Name"].apply(lambda x: f'<a target="_blank" href="https://huggingface.co/{x}" style="color:var(--link-text-color);text-decoration:underline;text-decoration-style:dotted">{x}</a>')
23
- tmp["Base Model"] = tmp["Base Model"].apply(lambda x: f'<a target="_blank" href="https://huggingface.co/{x}" style="color:var(--link-text-color);text-decoration:underline;text-decoration-style:dotted">{x}</a>' if x != "base" else f"<span>{x}</span>")
24
 
25
  return tmp
26
 
 
20
  tmp["Type"] = tmp["Type"].apply(lambda x: x[0])
21
  tmp = tmp.rename({"Type": "T"}, axis=1)
22
  tmp["Name"] = tmp["Name"].apply(lambda x: f'<a target="_blank" href="https://huggingface.co/{x}" style="color:var(--link-text-color);text-decoration:underline;text-decoration-style:dotted">{x}</a>')
23
+ tmp["Base Model"] = tmp["Base Model"].apply(lambda x: f'<a target="_blank" href="https://huggingface.co/{x}" style="color:var(--link-text-color);text-decoration:underline;text-decoration-style:dotted">{x}</a>')
24
 
25
  return tmp
26