Skip to content

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

chore(webui): lower output timing logs to debug

myhlolicabe6e349389
diff --git a/mineru/kit/gradio/app.py b/mineru/kit/gradio/app.py
index f205d57c..3571a923 100644
--- a/mineru/kit/gradio/app.py
+++ b/mineru/kit/gradio/app.py
@@ -884,7 +884,7 @@ def build_gradio_app(
if _is_office(source_path) or suffix in {"ofd", "epub"} or suffix in HTML_EXTENSIONS | MHTML_EXTENSIONS:
result_preview_updates = tuple(gr.skip() for _ in range(4))
run.artifacts = artifacts.as_state()
- logger.info(
+ logger.debug(
"WebUI output ready run_id={} artifacts={} elapsed={:.3f}s html_bytes={} json_bytes={} ready_at={:.3f}",
run.run_id,
artifacts.root.name,
diff --git a/mineru/kit/gradio/artifacts.py b/mineru/kit/gradio/artifacts.py
index 1f6d519d..ef76db1d 100644
--- a/mineru/kit/gradio/artifacts.py
+++ b/mineru/kit/gradio/artifacts.py
@@ -50,7 +50,7 @@ def _output_stage(stage: str, artifacts: RunArtifacts) -> Iterator[None]:
try:
yield
finally:
- logger.info(
+ logger.debug(
"WebUI output stage={} artifacts={} elapsed={:.3f}s", stage, artifacts.root.name, time.monotonic() - started
)