Improve NOUGAT pdf plugin

Add an API version of NOUGAT plugin
Add advanced argument support to NOUGAT plugin

Adapt new text breakdown function

bugfix
This commit is contained in:
leike0813
2023-12-20 08:57:27 +08:00
parent 68a49d3758
commit c60a7452bf
5 changed files with 206 additions and 13 deletions

View File

@@ -217,6 +217,10 @@ GROBID_URLS = [
]
# NOUGAT_API主机地址
NOUGAT_URLS = ["http://localhost:8503"] # 此处填写NOUGAT_API的主机地址
# 是否允许通过自然语言描述修改本页的配置,该功能具有一定的危险性,默认关闭
ALLOW_RESET_CONFIG = False