Skip to content

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

fix: remove unnecessary parameters from Markdown components in gradio_app.py

myhloli6229dcf4b2f9
diff --git a/mineru/cli/gradio_app.py b/mineru/cli/gradio_app.py
index 2f70d51e..3c8afc82 100644
--- a/mineru/cli/gradio_app.py
+++ b/mineru/cli/gradio_app.py
@@ -438,11 +438,11 @@ def main(ctx,
output_file = gr.File(label='convert result', interactive=False)
with gr.Tabs():
with gr.Tab('Markdown rendering'):
- md = gr.Markdown(label='Markdown rendering', height=1100, show_copy_button=True,
+ md = gr.Markdown(label='Markdown rendering', height=1100,
latex_delimiters=latex_delimiters,
line_breaks=True)
with gr.Tab('Markdown text'):
- md_text = gr.TextArea(lines=45, show_copy_button=True)
+ md_text = gr.TextArea(lines=45,)
# 添加事件处理
backend.change(