sidphbot commited on
Commit
f07cf21
1 Parent(s): 8b54034

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -20,7 +20,7 @@ def run_survey(surveyor, download_placeholder, research_keywords=None, arxiv_ids
20
  import time
21
 
22
  hash = hashlib.sha1()
23
- hash.update(str(time.time()))
24
  temp_hash = hash.hexdigest()
25
  survey_root = Path(temp_hash).resolve()
26
  dir_args = {f'{dname}_dir': survey_root / dname for dname in ['pdf', 'txt', 'img', 'tab', 'dump']}
 
20
  import time
21
 
22
  hash = hashlib.sha1()
23
+ hash.update(str(time.time()).encode('utf-8'))
24
  temp_hash = hash.hexdigest()
25
  survey_root = Path(temp_hash).resolve()
26
  dir_args = {f'{dname}_dir': survey_root / dname for dname in ['pdf', 'txt', 'img', 'tab', 'dump']}