Spaces:
Sleeping
Sleeping
Update pdftotext.py
Browse files- pdftotext.py +6 -0
pdftotext.py
CHANGED
|
@@ -124,6 +124,12 @@ def texts_from_pdf(pdfshareablelinks, heading_to_search):
|
|
| 124 |
|
| 125 |
# print(f"\nCollected Text:\n{all_text.strip()}")
|
| 126 |
return all_text.strip() if f10_count > 1 else "Heading not found"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 127 |
# import fitz
|
| 128 |
|
| 129 |
# import tsadropboxretrieval
|
|
|
|
| 124 |
|
| 125 |
# print(f"\nCollected Text:\n{all_text.strip()}")
|
| 126 |
return all_text.strip() if f10_count > 1 else "Heading not found"
|
| 127 |
+
|
| 128 |
+
|
| 129 |
+
def apiFiltering(apitext):
|
| 130 |
+
for item in apitext:
|
| 131 |
+
print(item)
|
| 132 |
+
|
| 133 |
# import fitz
|
| 134 |
|
| 135 |
# import tsadropboxretrieval
|