raannakasturi
commited on
Update arvix.py
Browse files
arvix.py
CHANGED
@@ -115,7 +115,7 @@ def extract_arxiv_data():
|
|
115 |
random.shuffle(all_ids)
|
116 |
if len(all_ids) > 3:
|
117 |
print(f"Found more than 3 papers for {category}.")
|
118 |
-
all_ids = all_ids[:
|
119 |
category_data['count'] = len(all_ids)
|
120 |
category_data['ids'] = all_ids
|
121 |
data[category] = category_data
|
|
|
115 |
random.shuffle(all_ids)
|
116 |
if len(all_ids) > 3:
|
117 |
print(f"Found more than 3 papers for {category}.")
|
118 |
+
all_ids = all_ids[:3]
|
119 |
category_data['count'] = len(all_ids)
|
120 |
category_data['ids'] = all_ids
|
121 |
data[category] = category_data
|