Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -14,6 +14,7 @@ def pdf_to_dataframe(pdf_path):
|
|
| 14 |
for page_num in range(len(doc)):
|
| 15 |
page = doc.load_page(page_num)
|
| 16 |
text = page.get_text("text")
|
|
|
|
| 17 |
text_blocks.append(text)
|
| 18 |
|
| 19 |
# Join all text blocks into a single string
|
|
|
|
| 14 |
for page_num in range(len(doc)):
|
| 15 |
page = doc.load_page(page_num)
|
| 16 |
text = page.get_text("text")
|
| 17 |
+
print(text)
|
| 18 |
text_blocks.append(text)
|
| 19 |
|
| 20 |
# Join all text blocks into a single string
|