diff --git a/projects/gradio_app/app.py b/projects/gradio_app/app.py index f274c0ec..14fd627f 100644 --- a/projects/gradio_app/app.py +++ b/projects/gradio_app/app.py @@ -221,6 +221,6 @@ def to_pdf(file_path): file.change(fn=to_pdf, inputs=file, outputs=pdf_show) change_bu.click(fn=to_markdown, inputs=[file, max_pages, is_ocr, layout_mode, formula_enable, table_enable, language], outputs=[md, md_text, output_file, pdf_show]) - clear_bu.add([file, md, pdf_show, md_text, output_file, is_ocr, table_enable, language]) + clear_bu.add([file, md, pdf_show, md_text, output_file, is_ocr, language]) demo.launch(server_name='0.0.0.0')