davanstrien HF staff commited on
Commit
6516013
β€’
1 Parent(s): 19ff55b

fix arxiv formatting for papers

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -30,6 +30,7 @@ def get_datasets():
30
  return list(tqdm(iter(list_datasets(full=True, limit=LIMIT))))
31
 
32
 
 
33
  get_models() # warm up the cache
34
  get_datasets() # warm up the cache
35
 
@@ -121,7 +122,7 @@ def get_papers_for_collection(collection_slug: str):
121
  if papers is not None:
122
  for paper in papers:
123
  data = {
124
- "arxiv_ids": paper.item_id,
125
  "hub_paper_links": [f"https://huggingface.co/papers/{paper.item_id}"],
126
  }
127
  collection_papers[paper.item_id] = data
 
30
  return list(tqdm(iter(list_datasets(full=True, limit=LIMIT))))
31
 
32
 
33
+
34
  get_models() # warm up the cache
35
  get_datasets() # warm up the cache
36
 
 
122
  if papers is not None:
123
  for paper in papers:
124
  data = {
125
+ "arxiv_ids": [paper.item_id],
126
  "hub_paper_links": [f"https://huggingface.co/papers/{paper.item_id}"],
127
  }
128
  collection_papers[paper.item_id] = data