sblumenf commited on
Commit
21813ce
1 Parent(s): da2993a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -10,7 +10,7 @@ def read_pdf(file):
10
  text = extract_text(file)
11
  return text
12
 
13
- iface = gr.Interface(fn=read_pdf, inputs="file_upload", outputs="text",
14
  title="PDF Text Extractor",
15
  description="Extract text from a PDF file.")
16
  iface.launch()
 
10
  text = extract_text(file)
11
  return text
12
 
13
+ iface = gr.Interface(fn=read_pdf, inputs="file", outputs="text",
14
  title="PDF Text Extractor",
15
  description="Extract text from a PDF file.")
16
  iface.launch()