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