add note
This commit is contained in:
parent
63219baa21
commit
d7331befc1
@ -120,7 +120,7 @@ def 解析PDF_基于NOUGAT(file_manifest, project_folder, llm_kwargs, plugin_kwa
|
|||||||
generated_html_files = []
|
generated_html_files = []
|
||||||
DST_LANG = "中文"
|
DST_LANG = "中文"
|
||||||
for index, fp in enumerate(file_manifest):
|
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)
|
fpp = NOUGAT_parse_pdf(fp)
|
||||||
|
|
||||||
with open(fpp, 'r', encoding='utf8') as f:
|
with open(fpp, 'r', encoding='utf8') as f:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user