Omnibus commited on
Commit
173ab3f
1 Parent(s): ac1285e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -94,7 +94,7 @@ def read_pdf(pdf_path):
94
  text=""
95
  reader = PdfReader(f'{pdf_path}')
96
  number_of_pages = len(reader.pages)
97
- for i in range(number_of_pages-1):
98
  page = reader.pages[i]
99
  text = f'{text}\n{page.extract_text()}'
100
  print (text)
 
94
  text=""
95
  reader = PdfReader(f'{pdf_path}')
96
  number_of_pages = len(reader.pages)
97
+ for i in range(number_of_pages):
98
  page = reader.pages[i]
99
  text = f'{text}\n{page.extract_text()}'
100
  print (text)