Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -40,7 +40,7 @@ def read_pdf(pdf_path):
|
|
| 40 |
text=""
|
| 41 |
reader = PdfReader(f'{pdf_path}')
|
| 42 |
number_of_pages = len(reader.pages)
|
| 43 |
-
for i in range(number_of_pages
|
| 44 |
page = reader.pages[i]
|
| 45 |
text = f'{text}\n{page.extract_text()}'
|
| 46 |
print (text)
|
|
|
|
| 40 |
text=""
|
| 41 |
reader = PdfReader(f'{pdf_path}')
|
| 42 |
number_of_pages = len(reader.pages)
|
| 43 |
+
for i in range(number_of_pages):
|
| 44 |
page = reader.pages[i]
|
| 45 |
text = f'{text}\n{page.extract_text()}'
|
| 46 |
print (text)
|