Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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(
|
| 39 |
outputs=gr.File(label="Download HTML"),
|
| 40 |
-
|
| 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()
|