Spaces:
Sleeping
Sleeping
cagataydag
commited on
Commit
•
5330578
1
Parent(s):
9af4fde
Update utils.py
Browse files
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.
|
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
|