hysts HF staff commited on
Commit
b00b9f1
1 Parent(s): 85ed693
Files changed (1) hide show
  1. papers.py +15 -3
papers.py CHANGED
@@ -70,9 +70,21 @@ class PaperList:
70
  "Paper page": PaperList.create_link(row["arxiv_id"], row["paper_page"]),
71
  "OpenReview": PaperList.create_link("OpenReview", row["OpenReview"]),
72
  "GitHub": "\n".join([PaperList.create_link("GitHub", url) for url in row["GitHub"]]),
73
- "Spaces": "\n".join([PaperList.create_link("Space", url) for url in row["Space"]]),
74
- "Models": "\n".join([PaperList.create_link("Model", url) for url in row["Model"]]),
75
- "Datasets": "\n".join([PaperList.create_link("Dataset", url) for url in row["Dataset"]]),
 
 
 
 
 
 
 
 
 
 
 
 
76
  "claimed": claimed_paper,
77
  }
78
  rows.append(new_row)
 
70
  "Paper page": PaperList.create_link(row["arxiv_id"], row["paper_page"]),
71
  "OpenReview": PaperList.create_link("OpenReview", row["OpenReview"]),
72
  "GitHub": "\n".join([PaperList.create_link("GitHub", url) for url in row["GitHub"]]),
73
+ "Spaces": "\n".join(
74
+ [
75
+ PaperList.create_link(repo_id, f"https://huggingface.co/spaces/{repo_id}")
76
+ for repo_id in row["Space"]
77
+ ]
78
+ ),
79
+ "Models": "\n".join(
80
+ [PaperList.create_link(repo_id, f"https://huggingface.co/{repo_id}") for repo_id in row["Model"]]
81
+ ),
82
+ "Datasets": "\n".join(
83
+ [
84
+ PaperList.create_link(repo_id, f"https://huggingface.co/datasets/{repo_id}")
85
+ for repo_id in row["Dataset"]
86
+ ]
87
+ ),
88
  "claimed": claimed_paper,
89
  }
90
  rows.append(new_row)