修复mineru部署的backend选项
This commit is contained in:
@@ -429,7 +429,7 @@ class MarkdownWorkflowParams(BaseWorkflowParams):
|
||||
"http://127.0.0.1:8000",
|
||||
description="[仅当 convert_engine='mineru_deploy'] 本地部署的 MinerU 服务地址。",
|
||||
)
|
||||
mineru_deploy_backend: Literal["pipeline", "vlm"] = Field(
|
||||
mineru_deploy_backend: Literal["pipeline", "transformers", "mlx-engine", "vllm-engine", "vllm-async-engine"] = Field(
|
||||
"pipeline",
|
||||
description="[仅当 convert_engine='mineru_deploy'] 本地部署的 MinerU 服务使用的后端。",
|
||||
)
|
||||
|
||||
@@ -18,7 +18,7 @@ class ConverterMineruDeployConfig(X2MarkdownConverterConfig):
|
||||
base_url: str = "http://127.0.0.1:8000"
|
||||
output_dir: str = "./output" # 覆盖默认值 ./output
|
||||
# lang_list: list[str] | None = None
|
||||
backend: Literal["pipeline", "vlm"] = "pipeline"
|
||||
backend: Literal["pipeline", "transformers", "mlx-engine", "vllm-engine", "vllm-async-engine"] = "pipeline"
|
||||
# parse_method: str = "auto"
|
||||
formula_enable: bool = True
|
||||
# table_enable: bool = True
|
||||
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user