生成文本报告

这个提交包含在:
Your Name
2023-03-24 15:42:09 +08:00
父节点 031232c986
当前提交 c19419e1fb
共有 4 个文件被更改,包括 23 次插入4 次删除

查看文件

@@ -1,5 +1,5 @@
from predict import predict_no_ui
from toolbox import CatchException, report_execption
from toolbox import CatchException, report_execption, write_results_to_file
fast_debug = False
@@ -56,7 +56,9 @@ def 解析Paper(file_manifest, project_folder, top_p, temperature, chatbot, hist
chatbot[-1] = (i_say, gpt_say)
history.append(i_say); history.append(gpt_say)
yield chatbot, history, msg
res = write_results_to_file(history)
chatbot.append(("完成了吗?", res))
yield chatbot, history, msg