diff --git a/parsers/mineru_parser.py b/parsers/mineru_parser.py index 94cc517..74845b5 100644 --- a/parsers/mineru_parser.py +++ b/parsers/mineru_parser.py @@ -814,7 +814,6 @@ def parse_with_mineru( cmd = [ str(mineru_exe), - "--", "-p", str(file_path), "-o", str(output_dir), "-m", "auto", @@ -859,7 +858,7 @@ def parse_with_mineru( logger.error(f"MinerU 解析失败: {e}") raise finally: - 清理临时目录 + # 清理临时目录 if cleanup_output and os.path.exists(output_dir): shutil.rmtree(output_dir, ignore_errors=True)