Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -35,7 +35,7 @@ def convert_pdf_to_html(pdf_file):
|
|
35 |
|
36 |
gr.Interface(
|
37 |
fn=convert_pdf_to_html,
|
38 |
-
inputs=gr.File(type="
|
39 |
outputs=gr.File(label="Download HTML"),
|
40 |
-
|
41 |
).launch()
|
|
|
35 |
|
36 |
gr.Interface(
|
37 |
fn=convert_pdf_to_html,
|
38 |
+
inputs=gr.File(type="filepath", label="Upload PDF"),
|
39 |
outputs=gr.File(label="Download HTML"),
|
40 |
+
allow_flagging="never"
|
41 |
).launch()
|