Spaces:
Running
Running
naveenvenkatesh
commited on
Commit
•
9504053
1
Parent(s):
6156244
Update headings_extractor.py
Browse files- headings_extractor.py +5 -4
headings_extractor.py
CHANGED
@@ -15,10 +15,11 @@ class HeadingsExtractor:
|
|
15 |
Returns:
|
16 |
str: Extracted headings.
|
17 |
"""
|
18 |
-
openai.api_type = os.getenv['api_type']
|
19 |
-
openai.api_base = os.getenv['api_base']
|
20 |
-
openai.api_version = os.getenv['api_version']
|
21 |
-
openai.api_key = os.getenv['api_key']
|
|
|
22 |
|
23 |
def file_output_fnn(self,file_path):
|
24 |
file_path = file_path.name
|
|
|
15 |
Returns:
|
16 |
str: Extracted headings.
|
17 |
"""
|
18 |
+
# openai.api_type = os.getenv['api_type']
|
19 |
+
# openai.api_base = os.getenv['api_base']
|
20 |
+
# openai.api_version = os.getenv['api_version']
|
21 |
+
# openai.api_key = os.getenv['api_key']
|
22 |
+
pass
|
23 |
|
24 |
def file_output_fnn(self,file_path):
|
25 |
file_path = file_path.name
|