timbosssds commited on
Commit
e67fa18
·
1 Parent(s): 4a1a085

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -4,7 +4,7 @@ from pdfminer.high_level import extract_text
4
  import pdfminer.six
5
 
6
  def read_pdf(file):
7
- text = pdfminer.six.extract_text(file)
8
  return text
9
 
10
  iface = gr.Interface(
 
4
  import pdfminer.six
5
 
6
  def read_pdf(file):
7
+ text = pdfminer.extract_text(file)
8
  return text
9
 
10
  iface = gr.Interface(