Spaces:
Running
Running
naveenvenkatesh
commited on
Commit
•
39070dd
1
Parent(s):
ffc2d4c
Update Clauses_Extractor.py
Browse files- Clauses_Extractor.py +4 -4
Clauses_Extractor.py
CHANGED
@@ -6,10 +6,10 @@ class Clauses:
|
|
6 |
|
7 |
def __init__(self):
|
8 |
|
9 |
-
openai.api_type = os.
|
10 |
-
openai.api_base = os.
|
11 |
-
openai.api_version = os.
|
12 |
-
openai.api_key = os.
|
13 |
|
14 |
def get_extracted_clauses(self,extracted_summary):
|
15 |
"""
|
|
|
6 |
|
7 |
def __init__(self):
|
8 |
|
9 |
+
openai.api_type = os.getenv['api_type']
|
10 |
+
openai.api_base = os.getenv['api_base']
|
11 |
+
openai.api_version = os.getenv['api_version']
|
12 |
+
openai.api_key = os.getenv['api_key']
|
13 |
|
14 |
def get_extracted_clauses(self,extracted_summary):
|
15 |
"""
|