Spaces:
Build error
Build error
Update src/Surveyor.py
Browse files1470 unmodified lines1471147214731474147514762 unmodified lines14791480148114821470 unmodified linesself.survey_print_fn(cites)shutil.copytree('arxiv_data/', survey_dump_dir + '/arxiv_data/')assert (os.path.exists(survey_file))zip_name = 'arxiv_dumps_'+query.replace(' ', '_')+'.zip'2 unmodified linesself.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())1470 unmodified lines147114721473147414751476147714782 unmodified lines14811482148314841470 unmodified linesself.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 linesself.print_fn("\n- Survey complete.. \nSurvey file path :" + str(survey_file) +"\nAll outputs zip path :" + str(zip_name))return str(zip_name.resolve()), str(survey_file.resolve())
src/Surveyor.py+3-1