This commit is contained in:
Timothy Jaeryang Baek 2025-11-02 18:47:41 -05:00
parent 6681ff5cbd
commit d14329b285

View file

@ -368,14 +368,8 @@ class Loader:
azure_credential=DefaultAzureCredential(), azure_credential=DefaultAzureCredential(),
) )
elif self.engine == "mineru" and file_ext in [ elif self.engine == "mineru" and file_ext in [
"pdf", "pdf"
"doc", ]: # MinerU currently only supports PDF
"docx",
"ppt",
"pptx",
"xls",
"xlsx",
]:
loader = MinerULoader( loader = MinerULoader(
file_path=file_path, file_path=file_path,
api_mode=self.kwargs.get("MINERU_API_MODE", "local"), api_mode=self.kwargs.get("MINERU_API_MODE", "local"),