Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
fix static to dynamic
Browse files
ui.py
CHANGED
@@ -19,6 +19,7 @@ from init import (
|
|
19 |
requested_arxiv_ids_df,
|
20 |
date_dict,
|
21 |
arxivid2data,
|
|
|
22 |
request_arxiv_repo_id,
|
23 |
hf_token,
|
24 |
gemini_api_key
|
@@ -156,8 +157,8 @@ def change_exp_type(exp_type):
|
|
156 |
)
|
157 |
|
158 |
def _filter_duplicate_arxiv_ids(arxiv_ids_to_be_added):
|
159 |
-
ds1 = datasets.load_dataset(
|
160 |
-
ds2 = datasets.load_dataset(
|
161 |
|
162 |
unique_arxiv_ids = set()
|
163 |
|
|
|
19 |
requested_arxiv_ids_df,
|
20 |
date_dict,
|
21 |
arxivid2data,
|
22 |
+
dataset_repo_id,
|
23 |
request_arxiv_repo_id,
|
24 |
hf_token,
|
25 |
gemini_api_key
|
|
|
157 |
)
|
158 |
|
159 |
def _filter_duplicate_arxiv_ids(arxiv_ids_to_be_added):
|
160 |
+
ds1 = datasets.load_dataset()
|
161 |
+
ds2 = datasets.load_dataset(dataset_repo_id)
|
162 |
|
163 |
unique_arxiv_ids = set()
|
164 |
|