Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -108,7 +108,7 @@ def parse_pdf(pdf_file, output_format, progress=gr.Progress()):
|
|
108 |
|
109 |
iface = gr.Interface(
|
110 |
fn=parse_pdf,
|
111 |
-
inputs=["file", gr.Dropdown(["JSON", "Markdown", "HTML"]), gr.Progress()
|
112 |
outputs=[
|
113 |
gr.Text(label="Output Text"),
|
114 |
gr.File(label="Download Output")
|
|
|
108 |
|
109 |
iface = gr.Interface(
|
110 |
fn=parse_pdf,
|
111 |
+
inputs=["file", gr.Dropdown(["JSON", "Markdown", "HTML"])], # Remove gr.Progress() from inputs
|
112 |
outputs=[
|
113 |
gr.Text(label="Output Text"),
|
114 |
gr.File(label="Download Output")
|