devingulliver
commited on
Commit
•
5ce3551
1
Parent(s):
aedd993
Update app.py
Browse files
app.py
CHANGED
@@ -19,8 +19,8 @@ def filter_table(cols, name, type, arch, license):
|
|
19 |
# prettify
|
20 |
tmp["Type"] = tmp["Type"].apply(lambda x: x[0])
|
21 |
tmp = tmp.rename({"Type": "T"}, axis=1)
|
22 |
-
|
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 |
|
|
|
19 |
# prettify
|
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 x)
|
24 |
|
25 |
return tmp
|
26 |
|