cagataydag commited on
Commit
c8b3ee6
1 Parent(s): 5330578

Update utils.py

Browse files
Files changed (1) hide show
  1. utils.py +1 -1
utils.py CHANGED
@@ -108,7 +108,7 @@ def read_pdf(file):
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
114
 
 
108
  all_page_text = ""
109
  for i in range(count):
110
  page = pdfReader.pages[i]
111
+ all_page_text += page.extract_text()
112
 
113
  return all_page_text
114