This commit is contained in:
binary-husky 2023-09-07 17:42:47 +08:00
parent 63219baa21
commit d7331befc1

View File

@ -120,7 +120,7 @@ def 解析PDF_基于NOUGAT(file_manifest, project_folder, llm_kwargs, plugin_kwa
generated_html_files = []
DST_LANG = "中文"
for index, fp in enumerate(file_manifest):
chatbot.append(["当前进度:", f"正在解析论文,请稍候"]); yield from update_ui(chatbot=chatbot, history=history) # 刷新界面
chatbot.append(["当前进度:", f"正在解析论文,请稍候第一次运行时需要花费较长时间下载NOUGAT参数"]); yield from update_ui(chatbot=chatbot, history=history) # 刷新界面
fpp = NOUGAT_parse_pdf(fp)
with open(fpp, 'r', encoding='utf8') as f: