Spaces:
Runtime error
Runtime error
Add paper page links
Browse files- paper_list.py +11 -7
- papers.csv +2 -2
paper_list.py
CHANGED
@@ -11,13 +11,14 @@ class PaperList:
|
|
11 |
|
12 |
self.table_header = '''
|
13 |
<tr>
|
14 |
-
<td width="40%">
|
15 |
-
<td width="
|
16 |
-
<td width="
|
17 |
-
<td width="
|
18 |
-
<td width="
|
19 |
-
<td width="
|
20 |
-
<td width="
|
|
|
21 |
</tr>'''
|
22 |
|
23 |
def _preprocess_table(self) -> None:
|
@@ -30,6 +31,8 @@ class PaperList:
|
|
30 |
row.arxiv, str) else ''
|
31 |
github = f'<a href="{row.github}" target="_blank">GitHub</a>' if isinstance(
|
32 |
row.github, str) else ''
|
|
|
|
|
33 |
hf_space = f'<a href="{row.hf_space}" target="_blank">Space</a>' if isinstance(
|
34 |
row.hf_space, str) else ''
|
35 |
hf_model = f'<a href="{row.hf_model}" target="_blank">Model</a>' if isinstance(
|
@@ -42,6 +45,7 @@ class PaperList:
|
|
42 |
<td>{row.authors}</td>
|
43 |
<td>{arxiv}</td>
|
44 |
<td>{github}</td>
|
|
|
45 |
<td>{hf_space}</td>
|
46 |
<td>{hf_model}</td>
|
47 |
<td>{hf_dataset}</td>
|
|
|
11 |
|
12 |
self.table_header = '''
|
13 |
<tr>
|
14 |
+
<td width="40%">Title</td>
|
15 |
+
<td width="28%">Authors</td>
|
16 |
+
<td width="5%">arXiv</td>
|
17 |
+
<td width="5%">GitHub</td>
|
18 |
+
<td width="7%">Paper pages</td>
|
19 |
+
<td width="5%">Spaces</td>
|
20 |
+
<td width="5%">Models</td>
|
21 |
+
<td width="5%">Datasets</td>
|
22 |
</tr>'''
|
23 |
|
24 |
def _preprocess_table(self) -> None:
|
|
|
31 |
row.arxiv, str) else ''
|
32 |
github = f'<a href="{row.github}" target="_blank">GitHub</a>' if isinstance(
|
33 |
row.github, str) else ''
|
34 |
+
hf_paper = f'<a href="{row.hf_paper}" target="_blank">Paper page</a>' if isinstance(
|
35 |
+
row.hf_paper, str) else ''
|
36 |
hf_space = f'<a href="{row.hf_space}" target="_blank">Space</a>' if isinstance(
|
37 |
row.hf_space, str) else ''
|
38 |
hf_model = f'<a href="{row.hf_model}" target="_blank">Model</a>' if isinstance(
|
|
|
45 |
<td>{row.authors}</td>
|
46 |
<td>{arxiv}</td>
|
47 |
<td>{github}</td>
|
48 |
+
<td>{hf_paper}</td>
|
49 |
<td>{hf_space}</td>
|
50 |
<td>{hf_model}</td>
|
51 |
<td>{hf_dataset}</td>
|
papers.csv
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:340c88e27ad248e8efa0fdc2559c88cbad68985df932a65ba19a97a54bd47590
|
3 |
+
size 358999
|