Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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
|
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)
|