Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Update
Browse files
papers.py
CHANGED
@@ -47,11 +47,11 @@ def get_df() -> pd.DataFrame:
|
|
47 |
)
|
48 |
df = df[::-1].reset_index(drop=True)
|
49 |
df["date"] = df["date"].dt.strftime("%Y-%m-%d")
|
|
|
50 |
|
51 |
paper_info = []
|
52 |
for _, row in tqdm.auto.tqdm(df.iterrows(), total=len(df)):
|
53 |
info = row.copy()
|
54 |
-
del info["abstract"]
|
55 |
info["paper_page"] = f"https://huggingface.co/papers/{row.arxiv_id}"
|
56 |
paper_info.append(info)
|
57 |
return pd.DataFrame(paper_info)
|
|
|
47 |
)
|
48 |
df = df[::-1].reset_index(drop=True)
|
49 |
df["date"] = df["date"].dt.strftime("%Y-%m-%d")
|
50 |
+
df = df.drop(columns=["authors", "abstract"])
|
51 |
|
52 |
paper_info = []
|
53 |
for _, row in tqdm.auto.tqdm(df.iterrows(), total=len(df)):
|
54 |
info = row.copy()
|
|
|
55 |
info["paper_page"] = f"https://huggingface.co/papers/{row.arxiv_id}"
|
56 |
paper_info.append(info)
|
57 |
return pd.DataFrame(paper_info)
|