Spaces:
Runtime error
Runtime error
Commit
·
d74d42e
1
Parent(s):
30e4bcf
Update headings_extractor.py
Browse files- headings_extractor.py +1 -1
headings_extractor.py
CHANGED
|
@@ -22,7 +22,7 @@ class HeadingsExtractor:
|
|
| 22 |
file_path = file_path.name
|
| 23 |
return file_path
|
| 24 |
|
| 25 |
-
def
|
| 26 |
|
| 27 |
"""
|
| 28 |
Extract headings from a given paragraph using OpenAI's GPT-3.
|
|
|
|
| 22 |
file_path = file_path.name
|
| 23 |
return file_path
|
| 24 |
|
| 25 |
+
def extract_headings(self,contract_page: str) -> str:
|
| 26 |
|
| 27 |
"""
|
| 28 |
Extract headings from a given paragraph using OpenAI's GPT-3.
|