Spaces:
Running
on
L4
Running
on
L4
Update app.py
Browse files
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
|
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)
|