Spaces:
Sleeping
Sleeping
Commit
·
95cbd86
1
Parent(s):
965a4bb
Update headings_extractor.py
Browse files- headings_extractor.py +1 -1
headings_extractor.py
CHANGED
|
@@ -73,7 +73,7 @@ class HeadingsExtractor:
|
|
| 73 |
text = page.extract_text()
|
| 74 |
|
| 75 |
# Pass the text to the process_text function for further processing
|
| 76 |
-
result = self.
|
| 77 |
headings = headings + result
|
| 78 |
return headings
|
| 79 |
|
|
|
|
| 73 |
text = page.extract_text()
|
| 74 |
|
| 75 |
# Pass the text to the process_text function for further processing
|
| 76 |
+
result = self.extract_headings(text)
|
| 77 |
headings = headings + result
|
| 78 |
return headings
|
| 79 |
|