myhloli commited on
Commit
a339cec
·
verified ·
1 Parent(s): 9d395b7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -233,7 +233,7 @@ if __name__ == "__main__":
233
  md_text = gr.TextArea(lines=45, show_copy_button=True)
234
  file.upload(fn=to_pdf, inputs=file, outputs=pdf_show)
235
  change_bu.click(fn=to_markdown, inputs=[pdf_show, max_pages, is_ocr, layout_mode, formula_enable, table_enable, language],
236
- outputs=[md, md_text, output_file, pdf_show])
237
  clear_bu.add([file, md, pdf_show, md_text, output_file, is_ocr, table_enable, language])
238
 
239
  demo.launch()
 
233
  md_text = gr.TextArea(lines=45, show_copy_button=True)
234
  file.upload(fn=to_pdf, inputs=file, outputs=pdf_show)
235
  change_bu.click(fn=to_markdown, inputs=[pdf_show, max_pages, is_ocr, layout_mode, formula_enable, table_enable, language],
236
+ outputs=[md, md_text, output_file, pdf_show], concurrency_limit=4)
237
  clear_bu.add([file, md, pdf_show, md_text, output_file, is_ocr, table_enable, language])
238
 
239
  demo.launch()