Spaces:
Build error
Build error
Update src/Surveyor.py
Browse files1470 unmodified lines147114721473147414751476147714782 unmodified lines148114821483148214841470 unmodified lines self.survey_print_fn(cites)
shutil.copytree('arxiv_data/', survey_dump_dir + '/arxiv_data/') for d in [survey_pdf_dir, survey_txt_dir, survey_img_dir, survey_tab_dir]: shutil.copytree(Path(d).stem, survey_dump_dir + f'/{Path(d).stem}/') assert (os.path.exists(survey_file)) zip_name = 'arxiv_dumps_'+query.replace(' ', '_')+'.zip'2 unmodified lines self.print_fn("\n- Survey complete.. \nSurvey file path :" + str(survey_file) + "\nAll outputs zip path :" + str(zip_name))
return str(zip_name.resolve()), str(zip_name.resolve()) return str(zip_name.resolve()), str(survey_file.resolve())src/Surveyor.py+3-1