myhloli commited on
Commit
2e3c7b8
·
verified ·
1 Parent(s): 260066c

Update app.py

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