Spaces:
Running
Running
naveenvenkatesh
commited on
Commit
•
2263661
1
Parent(s):
19b34dc
Update aggressive_content_finder.py
Browse files
aggressive_content_finder.py
CHANGED
@@ -13,10 +13,10 @@ class AggressiveContentFinder:
|
|
13 |
"""
|
14 |
Initialize the AggressiveContentFinder with your OpenAI API key.
|
15 |
"""
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
|
21 |
def _extract_aggressive_content(self, contract_text: str) -> str:
|
22 |
"""
|
|
|
13 |
"""
|
14 |
Initialize the AggressiveContentFinder with your OpenAI API key.
|
15 |
"""
|
16 |
+
openai.api_type = os.getenv['api_type']
|
17 |
+
openai.api_base = os.getenv['api_base']
|
18 |
+
openai.api_version = os.getenv['api_version']
|
19 |
+
openai.api_key = os.getenv['api_key']
|
20 |
|
21 |
def _extract_aggressive_content(self, contract_text: str) -> str:
|
22 |
"""
|