Zhiming666 commited on
Commit
7b27482
1 Parent(s): 7d50805

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -18,7 +18,7 @@ def get_arxiv_data(search_query, number):
18
 
19
  # Create folder for current date and time
20
  current_time = datetime.now().strftime('%Y_%m_%d__%H_%M')
21
- folder_path = os.path.join('data', current_time)
22
  os.makedirs(folder_path, exist_ok=True)
23
 
24
  for entry in entries:
 
18
 
19
  # Create folder for current date and time
20
  current_time = datetime.now().strftime('%Y_%m_%d__%H_%M')
21
+ folder_path = os.path.join(os.path.dirname(__file__), 'data', current_time)
22
  os.makedirs(folder_path, exist_ok=True)
23
 
24
  for entry in entries: