Spaces:
Running
Running
naveenvenkatesh
commited on
Commit
•
057bdfa
1
Parent(s):
dc33d60
Update ContractGenerator.py
Browse files- ContractGenerator.py +4 -4
ContractGenerator.py
CHANGED
@@ -14,10 +14,10 @@ class ContractGenerator:
|
|
14 |
api_key (str): Your OpenAI API key.
|
15 |
"""
|
16 |
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
|
22 |
def generate_contract(self, instructions: str) -> None:
|
23 |
|
|
|
14 |
api_key (str): Your OpenAI API key.
|
15 |
"""
|
16 |
|
17 |
+
openai.api_type = os.getenv['api_type']
|
18 |
+
openai.api_base = os.getenv['api_base']
|
19 |
+
openai.api_version = os.getenv['api_version']
|
20 |
+
openai.api_key = os.getenv['api_key']
|
21 |
|
22 |
def generate_contract(self, instructions: str) -> None:
|
23 |
|