Spaces:
Sleeping
Sleeping
Update summary_extractor.py
Browse files- summary_extractor.py +1 -5
summary_extractor.py
CHANGED
|
@@ -24,11 +24,7 @@ class Extractor:
|
|
| 24 |
"""
|
| 25 |
Initialize the Extractor class.
|
| 26 |
"""
|
| 27 |
-
|
| 28 |
-
openai.api_type = os.getenv['api_type']
|
| 29 |
-
os.environ["AZURE_OPENAI_API_KEY"] = os.getenv['api_key']
|
| 30 |
-
os.environ["AZURE_OPENAI_ENDPOINT"] = os.getenv['api_base']
|
| 31 |
-
os.environ["OPENAI_API_VERSION"] = os.getenv['api_version']
|
| 32 |
|
| 33 |
def _document_loader(self,pdf_file_path) -> List[str]:
|
| 34 |
"""
|
|
|
|
| 24 |
"""
|
| 25 |
Initialize the Extractor class.
|
| 26 |
"""
|
| 27 |
+
pass
|
|
|
|
|
|
|
|
|
|
|
|
|
| 28 |
|
| 29 |
def _document_loader(self,pdf_file_path) -> List[str]:
|
| 30 |
"""
|