Spaces:
Running
Running
Update
Browse files- paper_list.py +4 -2
paper_list.py
CHANGED
@@ -19,7 +19,8 @@ class PaperList:
|
|
19 |
self.table_header = """
|
20 |
<tr>
|
21 |
<td width="38%">Title</td>
|
22 |
-
<td width="
|
|
|
23 |
<td width="5%">arXiv</td>
|
24 |
<td width="5%">GitHub</td>
|
25 |
<td width="7%">Paper pages</td>
|
@@ -37,7 +38,7 @@ class PaperList:
|
|
37 |
|
38 |
rows = []
|
39 |
for row in self.table.itertuples():
|
40 |
-
title = f"{row.title}
|
41 |
arxiv = f'<a href="{row.arxiv}" target="_blank">arXiv</a>' if row.arxiv else ""
|
42 |
github = f'<a href="{row.github}" target="_blank">GitHub</a>' if row.github else ""
|
43 |
hf_paper = f'<a href="{row.hf_paper}" target="_blank">Paper page</a>' if row.hf_paper else ""
|
@@ -52,6 +53,7 @@ class PaperList:
|
|
52 |
<tr>
|
53 |
<td>{title}</td>
|
54 |
<td>{row.authors}</td>
|
|
|
55 |
<td>{arxiv}</td>
|
56 |
<td>{github}</td>
|
57 |
<td>{hf_paper}</td>
|
|
|
19 |
self.table_header = """
|
20 |
<tr>
|
21 |
<td width="38%">Title</td>
|
22 |
+
<td width="20%">Authors</td>
|
23 |
+
<td width="5%">Type</td>
|
24 |
<td width="5%">arXiv</td>
|
25 |
<td width="5%">GitHub</td>
|
26 |
<td width="7%">Paper pages</td>
|
|
|
38 |
|
39 |
rows = []
|
40 |
for row in self.table.itertuples():
|
41 |
+
title = f'<a href="{row.url}" target="_blank">{row.title}</a>'
|
42 |
arxiv = f'<a href="{row.arxiv}" target="_blank">arXiv</a>' if row.arxiv else ""
|
43 |
github = f'<a href="{row.github}" target="_blank">GitHub</a>' if row.github else ""
|
44 |
hf_paper = f'<a href="{row.hf_paper}" target="_blank">Paper page</a>' if row.hf_paper else ""
|
|
|
53 |
<tr>
|
54 |
<td>{title}</td>
|
55 |
<td>{row.authors}</td>
|
56 |
+
<td>{row.type}</td>
|
57 |
<td>{arxiv}</td>
|
58 |
<td>{github}</td>
|
59 |
<td>{hf_paper}</td>
|