myhloli commited on
Commit
ae88f1a
·
verified ·
1 Parent(s): fada46d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -236,6 +236,6 @@ if __name__ == "__main__":
236
  file.change(fn=to_pdf, inputs=file, outputs=pdf_show)
237
  change_bu.click(fn=to_markdown, inputs=[file, max_pages, is_ocr, layout_mode, formula_enable, table_enable, language],
238
  outputs=[md, md_text, output_file, pdf_show], api_name=False)
239
- clear_bu.add([file, md, pdf_show, md_text, output_file, is_ocr, language])
240
 
241
  demo.launch(ssr_mode=False)
 
236
  file.change(fn=to_pdf, inputs=file, outputs=pdf_show)
237
  change_bu.click(fn=to_markdown, inputs=[file, max_pages, is_ocr, layout_mode, formula_enable, table_enable, language],
238
  outputs=[md, md_text, output_file, pdf_show], api_name=False)
239
+ clear_bu.add([file, md, pdf_show, md_text, output_file, is_ocr])
240
 
241
  demo.launch(ssr_mode=False)