leonarb commited on
Commit
aa3a540
·
verified ·
1 Parent(s): d3636ca

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -35,8 +35,7 @@ def convert_pdf_to_html(pdf_file):
35
 
36
  gr.Interface(
37
  fn=convert_pdf_to_html,
38
- inputs=gr.File(label="Upload PDF", file_types=[".pdf"]),
39
  outputs=gr.File(label="Download HTML"),
40
- title="PDF to HTML",
41
- description="Convert PDFs to self-contained HTML using pdf2htmlEX."
42
  ).launch()
 
35
 
36
  gr.Interface(
37
  fn=convert_pdf_to_html,
38
+ inputs=gr.File(type="file", label="Upload PDF"),
39
  outputs=gr.File(label="Download HTML"),
40
+ flagging_dir="/tmp/flagged"
 
41
  ).launch()