Unverified Commit 40cab344 authored by Xiaomeng Zhao's avatar Xiaomeng Zhao Committed by GitHub
Browse files

Merge pull request #1438 from myhloli/dev

fix(clear_bu): remove unused input from clear button
parents ed202789 e3d2de37
......@@ -221,6 +221,6 @@ if __name__ == '__main__':
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')
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment