Spaces:
Paused
Paused
2.67 修复typo
Browse filesFiles changed (9)
182 unmodified lines183184185186187188189190191192193194182 unmodified lineschatbot[-1] = (i_say_show_user, gpt_say)history.append(i_say_show_user); history.append(gpt_say)yield from update_ui(chatbot=chatbot, history=chatbot, msg=msg) # 刷新界面# 写入文件import shutil# 重置文件的创建时间shutil.copyfile(pdf_path, f'./gpt_log/{os.path.basename(pdf_path)}'); os.remove(pdf_path)res = write_results_to_file(history)chatbot.append(("完成了吗?", res + "\n\nPDF文件也已经下载"))yield from update_ui(chatbot=chatbot, history=chatbot, msg=msg) # 刷新界面182 unmodified lines183184185186187188189190191192193194182 unmodified lineschatbot[-1] = (i_say_show_user, gpt_say)history.append(i_say_show_user); history.append(gpt_say)yield from update_ui(chatbot=chatbot, history=history, msg=msg) # 刷新界面# 写入文件import shutil# 重置文件的创建时间shutil.copyfile(pdf_path, f'./gpt_log/{os.path.basename(pdf_path)}'); os.remove(pdf_path)res = write_results_to_file(history)chatbot.append(("完成了吗?", res + "\n\nPDF文件也已经下载"))yield from update_ui(chatbot=chatbot, history=history, msg=msg) # 刷新界面
51 unmodified lines5253545556575825 unmodified lines8485868788899091929351 unmodified lineschatbot[-1] = (i_say_show_user, gpt_say)history.append(i_say_show_user)history.append(gpt_say)yield from update_ui(chatbot=chatbot, history=chatbot, msg=msg) # 刷新界面if not fast_debug: time.sleep(2)"""25 unmodified lineschatbot[-1] = (i_say, gpt_say)history.append(i_say)history.append(gpt_say)yield from update_ui(chatbot=chatbot, history=chatbot, msg=msg) # 刷新界面res = write_results_to_file(history)chatbot.append(("完成了吗?", res))yield from update_ui(chatbot=chatbot, history=chatbot, msg=msg) # 刷新界面@CatchException51 unmodified lines5253545556575825 unmodified lines8485868788899091929351 unmodified lineschatbot[-1] = (i_say_show_user, gpt_say)history.append(i_say_show_user)history.append(gpt_say)yield from update_ui(chatbot=chatbot, history=history, msg=msg) # 刷新界面if not fast_debug: time.sleep(2)"""25 unmodified lineschatbot[-1] = (i_say, gpt_say)history.append(i_say)history.append(gpt_say)yield from update_ui(chatbot=chatbot, history=history, msg=msg) # 刷新界面res = write_results_to_file(history)chatbot.append(("完成了吗?", res))yield from update_ui(chatbot=chatbot, history=history, msg=msg) # 刷新界面@CatchException
89 unmodified lines9091929394959615 unmodified lines11211311411511611711811912012189 unmodified lineschatbot[-1] = (i_say_show_user, gpt_say)history.append(i_say_show_user); history.append(gpt_say)yield from update_ui(chatbot=chatbot, history=chatbot, msg=msg) # 刷新界面if not fast_debug: time.sleep(2)all_file = ', '.join([os.path.relpath(fp, project_folder) for index, fp in enumerate(file_manifest)])15 unmodified lineschatbot[-1] = (i_say, gpt_say)history.append(i_say); history.append(gpt_say)yield from update_ui(chatbot=chatbot, history=chatbot, msg=msg) # 刷新界面res = write_results_to_file(history)chatbot.append(("完成了吗?", res))yield from update_ui(chatbot=chatbot, history=chatbot, msg=msg) # 刷新界面@CatchException89 unmodified lines9091929394959615 unmodified lines11211311411511611711811912012189 unmodified lineschatbot[-1] = (i_say_show_user, gpt_say)history.append(i_say_show_user); history.append(gpt_say)yield from update_ui(chatbot=chatbot, history=history, msg=msg) # 刷新界面if not fast_debug: time.sleep(2)all_file = ', '.join([os.path.relpath(fp, project_folder) for index, fp in enumerate(file_manifest)])15 unmodified lineschatbot[-1] = (i_say, gpt_say)history.append(i_say); history.append(gpt_say)yield from update_ui(chatbot=chatbot, history=history, msg=msg) # 刷新界面res = write_results_to_file(history)chatbot.append(("完成了吗?", res))yield from update_ui(chatbot=chatbot, history=history, msg=msg) # 刷新界面@CatchException
92 unmodified lines9394959697989914 unmodified lines11411511611711811912012112212392 unmodified lines) # 带超时倒计时chatbot[-1] = (i_say_show_user, gpt_say)history.append(i_say_show_user); history.append(gpt_say)yield from update_ui(chatbot=chatbot, history=chatbot, msg=msg) # 刷新界面if not fast_debug: time.sleep(2)all_file = ', '.join([os.path.relpath(fp, project_folder) for index, fp in enumerate(file_manifest)])14 unmodified lines) # 带超时倒计时chatbot[-1] = (i_say, gpt_say)history.append(i_say); history.append(gpt_say)yield from update_ui(chatbot=chatbot, history=chatbot, msg=msg) # 刷新界面res = write_results_to_file(history)chatbot.append(("完成了吗?", res))yield from update_ui(chatbot=chatbot, history=chatbot, msg=msg) # 刷新界面92 unmodified lines9394959697989914 unmodified lines11411511611711811912012112212392 unmodified lines) # 带超时倒计时chatbot[-1] = (i_say_show_user, gpt_say)history.append(i_say_show_user); history.append(gpt_say)yield from update_ui(chatbot=chatbot, history=history, msg=msg) # 刷新界面if not fast_debug: time.sleep(2)all_file = ', '.join([os.path.relpath(fp, project_folder) for index, fp in enumerate(file_manifest)])14 unmodified lines) # 带超时倒计时chatbot[-1] = (i_say, gpt_say)history.append(i_say); history.append(gpt_say)yield from update_ui(chatbot=chatbot, history=history, msg=msg) # 刷新界面res = write_results_to_file(history)chatbot.append(("完成了吗?", res))yield from update_ui(chatbot=chatbot, history=history, msg=msg) # 刷新界面
279 unmodified lines2802812822832842852866 unmodified lines293294295296279 unmodified lines# 更新UIgenerated_conclusion_files.append(f'./gpt_log/{create_report_file_name}')chatbot.append((f"{fp}完成了吗?", res))yield from update_ui(chatbot=chatbot, history=chatbot) # 刷新界面# 准备文件的下载import shutil6 unmodified linesif os.path.exists(pdf_path):os.remove(pdf_path)chatbot.append(("给出输出文件清单", str(generated_conclusion_files)))yield from update_ui(chatbot=chatbot, history=chatbot) # 刷新界面279 unmodified lines2802812822832842852866 unmodified lines293294295296279 unmodified lines# 更新UIgenerated_conclusion_files.append(f'./gpt_log/{create_report_file_name}')chatbot.append((f"{fp}完成了吗?", res))yield from update_ui(chatbot=chatbot, history=history) # 刷新界面# 准备文件的下载import shutil6 unmodified linesif os.path.exists(pdf_path):os.remove(pdf_path)chatbot.append(("给出输出文件清单", str(generated_conclusion_files)))yield from update_ui(chatbot=chatbot, history=history) # 刷新界面
22 unmodified lines2324252627282930313233343522 unmodified lineschatbot[-1] = (i_say_show_user, gpt_say)history.append(i_say_show_user); history.append(gpt_say)yield from update_ui(chatbot=chatbot, history=chatbot, msg=msg) # 刷新界面if not fast_debug: time.sleep(2)if not fast_debug:res = write_results_to_file(history)chatbot.append(("完成了吗?", res))yield from update_ui(chatbot=chatbot, history=chatbot, msg=msg) # 刷新界面22 unmodified lines2324252627282930313233343522 unmodified lineschatbot[-1] = (i_say_show_user, gpt_say)history.append(i_say_show_user); history.append(gpt_say)yield from update_ui(chatbot=chatbot, history=history, msg=msg) # 刷新界面if not fast_debug: time.sleep(2)if not fast_debug:res = write_results_to_file(history)chatbot.append(("完成了吗?", res))yield from update_ui(chatbot=chatbot, history=history, msg=msg) # 刷新界面
23 unmodified lines242526272829308 unmodified lines3940414243444546474823 unmodified lineschatbot[-1] = (i_say_show_user, gpt_say)history.append(i_say_show_user); history.append(gpt_say)yield from update_ui(chatbot=chatbot, history=chatbot, msg=msg) # 刷新界面if not fast_debug: time.sleep(2)all_file = ', '.join([os.path.relpath(fp, project_folder) for index, fp in enumerate(file_manifest)])8 unmodified lineschatbot[-1] = (i_say, gpt_say)history.append(i_say); history.append(gpt_say)yield from update_ui(chatbot=chatbot, history=chatbot, msg=msg) # 刷新界面res = write_results_to_file(history)chatbot.append(("完成了吗?", res))yield from update_ui(chatbot=chatbot, history=chatbot, msg=msg) # 刷新界面23 unmodified lines242526272829308 unmodified lines3940414243444546474823 unmodified lineschatbot[-1] = (i_say_show_user, gpt_say)history.append(i_say_show_user); history.append(gpt_say)yield from update_ui(chatbot=chatbot, history=history, msg=msg) # 刷新界面if not fast_debug: time.sleep(2)all_file = ', '.join([os.path.relpath(fp, project_folder) for index, fp in enumerate(file_manifest)])8 unmodified lineschatbot[-1] = (i_say, gpt_say)history.append(i_say); history.append(gpt_say)yield from update_ui(chatbot=chatbot, history=history, msg=msg) # 刷新界面res = write_results_to_file(history)chatbot.append(("完成了吗?", res))yield from update_ui(chatbot=chatbot, history=history, msg=msg) # 刷新界面
99 unmodified lines10010110210310410510699 unmodified lineschatbot.append(["状态?", "已经全部完成"])msg = '正常'yield from update_ui(chatbot=chatbot, history=chatbot, msg=msg) # 刷新界面res = write_results_to_file(history)chatbot.append(("完成了吗?", res));yield from update_ui(chatbot=chatbot, history=chatbot, msg=msg) # 刷新界面99 unmodified lines10010110210310410510699 unmodified lineschatbot.append(["状态?", "已经全部完成"])msg = '正常'yield from update_ui(chatbot=chatbot, history=history, msg=msg) # 刷新界面res = write_results_to_file(history)chatbot.append(("完成了吗?", res));yield from update_ui(chatbot=chatbot, history=history, msg=msg) # 刷新界面
12345{"version": 2.66,"show_feature": true,"new_feature": "很抱歉2.6有bug,现已经紧急修复<->现可通过输入区更新临时api-key <-> 增强多线程稳定性(涉及代码解析、PDF翻译、自译解等) <-> 修复Token计数错误(解决PDF翻译的分割不合理的问题) <-> 如果一键更新失败,可前往github手动更新"}12345{"version": 2.67,"show_feature": true,"new_feature": "很抱歉2.6有bug,现已经紧急修复<->现可通过输入区更新临时api-key <-> 增强多线程稳定性(涉及代码解析、PDF翻译、自译解等) <-> 修复Token计数错误(解决PDF翻译的分割不合理的问题) <-> 如果一键更新失败,可前往github手动更新"}
crazy_functions/下载arxiv论文翻译摘要.py+2-2
crazy_functions/总结word文档.py+3-3
crazy_functions/批量总结PDF文档.py+3-3
crazy_functions/批量总结PDF文档pdfminer.py+3-3
crazy_functions/批量翻译PDF文档_多线程.py+2-2
crazy_functions/生成函数注释.py+2-2
crazy_functions/读文章写摘要.py+3-3
crazy_functions/谷歌检索小助手.py+2-2
version+1-1