update papers
Browse files
papers.py
CHANGED
@@ -69,7 +69,7 @@ class Prettifier:
|
|
69 |
for _, row in df.iterrows():
|
70 |
new_row = dict(row) | {
|
71 |
"date": Prettifier.create_link(row.date, f"https://huggingface.co/papers?date={row.date}"),
|
72 |
-
"
|
73 |
"github": self.get_github_link(row.github),
|
74 |
}
|
75 |
new_rows.append(new_row)
|
@@ -79,10 +79,10 @@ class Prettifier:
|
|
79 |
class PaperList:
|
80 |
COLUMN_INFO = [
|
81 |
["date", "markdown"],
|
82 |
-
["
|
83 |
["title", "str"],
|
84 |
["github", "markdown"],
|
85 |
-
["
|
86 |
]
|
87 |
|
88 |
def __init__(self, df: pd.DataFrame):
|
|
|
69 |
for _, row in df.iterrows():
|
70 |
new_row = dict(row) | {
|
71 |
"date": Prettifier.create_link(row.date, f"https://huggingface.co/papers?date={row.date}"),
|
72 |
+
"paper_page": "https://arxiv.org/abs/"+row.arxiv_id,
|
73 |
"github": self.get_github_link(row.github),
|
74 |
}
|
75 |
new_rows.append(new_row)
|
|
|
79 |
class PaperList:
|
80 |
COLUMN_INFO = [
|
81 |
["date", "markdown"],
|
82 |
+
["paper_page", "markdown"],
|
83 |
["title", "str"],
|
84 |
["github", "markdown"],
|
85 |
+
["upvotes", "number"],
|
86 |
]
|
87 |
|
88 |
def __init__(self, df: pd.DataFrame):
|