cagataydag commited on
Commit
5330578
1 Parent(s): 9af4fde

Update utils.py

Browse files
Files changed (1) hide show
  1. utils.py +1 -1
utils.py CHANGED
@@ -107,7 +107,7 @@ def read_pdf(file):
107
  count = len(pdfReader.pages)
108
  all_page_text = ""
109
  for i in range(count):
110
- page = pdfReader.getPage(i)
111
  all_page_text += page.extractText()
112
 
113
  return all_page_text
 
107
  count = len(pdfReader.pages)
108
  all_page_text = ""
109
  for i in range(count):
110
+ page = pdfReader.pages[i]
111
  all_page_text += page.extractText()
112
 
113
  return all_page_text