Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Update init.py
Browse files
init.py
CHANGED
@@ -80,8 +80,10 @@ def initialize_data(source_data_repo_id, request_data_repo_id):
|
|
80 |
titles, date_dict, requested_arxiv_ids_df, arxivid2data
|
81 |
)
|
82 |
|
83 |
-
def update_dataframe(
|
84 |
-
|
|
|
|
|
85 |
return _initialize_requested_arxiv_ids(request_ds)
|
86 |
|
87 |
def initialize_repos(
|
|
|
80 |
titles, date_dict, requested_arxiv_ids_df, arxivid2data
|
81 |
)
|
82 |
|
83 |
+
def update_dataframe():
|
84 |
+
global request_arxiv_repo_id
|
85 |
+
|
86 |
+
request_ds = datasets.load_dataset(request_arxiv_repo_id)
|
87 |
return _initialize_requested_arxiv_ids(request_ds)
|
88 |
|
89 |
def initialize_repos(
|