Merge branch 'frontier' into production
This commit is contained in:
@@ -748,7 +748,7 @@ class nougat_interface():
|
|||||||
|
|
||||||
yield from update_ui_lastest_msg("正在解析论文, 请稍候。进度:正在加载NOUGAT... (提示:首次运行需要花费较长时间下载NOUGAT参数)",
|
yield from update_ui_lastest_msg("正在解析论文, 请稍候。进度:正在加载NOUGAT... (提示:首次运行需要花费较长时间下载NOUGAT参数)",
|
||||||
chatbot=chatbot, history=history, delay=0)
|
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'))
|
res = glob.glob(os.path.join(dst,'*.mmd'))
|
||||||
if len(res) == 0:
|
if len(res) == 0:
|
||||||
self.threadLock.release()
|
self.threadLock.release()
|
||||||
|
|||||||
@@ -1,24 +1,24 @@
|
|||||||
./docs/gradio-3.32.6-py3-none-any.whl
|
./docs/gradio-3.32.6-py3-none-any.whl
|
||||||
pydantic==1.10.11
|
pypdf2==2.12.1
|
||||||
tiktoken>=0.3.3
|
tiktoken>=0.3.3
|
||||||
requests[socks]
|
requests[socks]
|
||||||
|
pydantic==1.10.11
|
||||||
transformers>=4.27.1
|
transformers>=4.27.1
|
||||||
|
scipdf_parser>=0.52
|
||||||
python-markdown-math
|
python-markdown-math
|
||||||
|
websocket-client
|
||||||
beautifulsoup4
|
beautifulsoup4
|
||||||
prompt_toolkit
|
prompt_toolkit
|
||||||
latex2mathml
|
latex2mathml
|
||||||
python-docx
|
python-docx
|
||||||
mdtex2html
|
mdtex2html
|
||||||
anthropic
|
anthropic
|
||||||
|
pyautogen
|
||||||
colorama
|
colorama
|
||||||
Markdown
|
Markdown
|
||||||
pygments
|
pygments
|
||||||
pymupdf
|
pymupdf
|
||||||
openai
|
openai
|
||||||
pyautogen
|
|
||||||
numpy
|
|
||||||
arxiv
|
arxiv
|
||||||
|
numpy
|
||||||
rich
|
rich
|
||||||
pypdf2==2.12.1
|
|
||||||
websocket-client
|
|
||||||
scipdf_parser>=0.3
|
|
||||||
|
|||||||
Reference in New Issue
Block a user