chansung commited on
Commit
1a6a6d6
β€’
1 Parent(s): 5ac396d

Update init.py

Browse files
Files changed (1) hide show
  1. init.py +4 -2
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(request_data_repo_id):
84
- request_ds = datasets.load_dataset(request_data_repo_id)
 
 
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(