修复model_version错误

This commit is contained in:
xunbu
2025-08-20 15:54:57 +08:00
parent 4caa7d8843
commit 5110bba898
3 changed files with 4 additions and 4 deletions

View File

@@ -18,7 +18,7 @@ URL = 'https://mineru.net/api/v4/file-urls/batch'
class ConverterMineruConfig(X2MarkdownConverterConfig):
mineru_token: str
formula_ocr: bool = True
model_version: Literal["pipline", "vlm"] = "vlm"
model_version: Literal["pipeline", "vlm"] = "vlm"
def gethash(self) -> Hashable:
return self.formula_ocr,self.model_version