Skip to content

Transforms complex documents like PDFs and Office docs into LLM-ready markdown/JSON for your Agentic workflows.

fix: prevent URL assignment for non-client backends

myhlolib4cdfedb63c6
diff --git a/mineru/cli/gradio_app.py b/mineru/cli/gradio_app.py
index 31208d21..096ecf8c 100644
--- a/mineru/cli/gradio_app.py
+++ b/mineru/cli/gradio_app.py
@@ -28,6 +28,7 @@ async def parse_pdf(doc_path, output_dir, end_page_id, is_ocr, formula_enable, t
if backend.startswith("vlm"):
parse_method = "vlm"
+ if not backend.endswith("client"):
url = None
local_image_dir, local_md_dir = prepare_env(output_dir, file_name, parse_method)
await aio_do_parse(