sblumenf commited on
Commit
7c51401
·
verified ·
1 Parent(s): b8d5f22

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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")