Merge branch 'frontier' into production

This commit is contained in:
binary-husky
2023-11-13 00:49:57 +08:00
2 changed files with 7 additions and 7 deletions

View File

@@ -748,7 +748,7 @@ class nougat_interface():
yield from update_ui_lastest_msg("正在解析论文, 请稍候。进度正在加载NOUGAT... 提示首次运行需要花费较长时间下载NOUGAT参数",
chatbot=chatbot, history=history, delay=0)
self.nougat_with_timeout(f'nougat --out "{os.path.abspath(dst)}" "{os.path.abspath(fp)}" --batchsize 4', os.getcwd(), timeout=3600)
self.nougat_with_timeout(f'nougat --out "{os.path.abspath(dst)}" "{os.path.abspath(fp)}"', os.getcwd(), timeout=3600)
res = glob.glob(os.path.join(dst,'*.mmd'))
if len(res) == 0:
self.threadLock.release()

View File

@@ -1,24 +1,24 @@
./docs/gradio-3.32.6-py3-none-any.whl
pydantic==1.10.11
pypdf2==2.12.1
tiktoken>=0.3.3
requests[socks]
pydantic==1.10.11
transformers>=4.27.1
scipdf_parser>=0.52
python-markdown-math
websocket-client
beautifulsoup4
prompt_toolkit
latex2mathml
python-docx
mdtex2html
anthropic
pyautogen
colorama
Markdown
pygments
pymupdf
openai
pyautogen
numpy
arxiv
numpy
rich
pypdf2==2.12.1
websocket-client
scipdf_parser>=0.3