Spaces:
Runtime error
Runtime error
filter out dummy
Browse files
init.py
CHANGED
|
@@ -37,6 +37,7 @@ def _initialize_paper_info(source_ds):
|
|
| 37 |
|
| 38 |
if len(source_ds["train"]) > 1:
|
| 39 |
for data in source_ds["train"]:
|
|
|
|
| 40 |
date = data["target_date"].strftime("%Y-%m-%d")
|
| 41 |
arxiv_id = data["arxiv_id"]
|
| 42 |
|
|
|
|
| 37 |
|
| 38 |
if len(source_ds["train"]) > 1:
|
| 39 |
for data in source_ds["train"]:
|
| 40 |
+
if data["title"] != "dummy":
|
| 41 |
date = data["target_date"].strftime("%Y-%m-%d")
|
| 42 |
arxiv_id = data["arxiv_id"]
|
| 43 |
|