Spaces:
Running
Running
naveenvenkatesh
commited on
Commit
•
6156244
1
Parent(s):
21c5ad6
Update extract_date.py
Browse files- extract_date.py +5 -4
extract_date.py
CHANGED
@@ -32,10 +32,11 @@ class ExtractDateAndDuration:
|
|
32 |
"""
|
33 |
Initialize the ExtractDateAndDuration class.
|
34 |
"""
|
35 |
-
openai.api_type = os.getenv['api_type']
|
36 |
-
openai.api_base = os.getenv['api_base']
|
37 |
-
openai.api_version = os.getenv['api_version']
|
38 |
-
openai.api_key = os.getenv['api_key']
|
|
|
39 |
|
40 |
|
41 |
def get_date_and_duration(self, contract_text: str) -> str:
|
|
|
32 |
"""
|
33 |
Initialize the ExtractDateAndDuration class.
|
34 |
"""
|
35 |
+
# openai.api_type = os.getenv['api_type']
|
36 |
+
# openai.api_base = os.getenv['api_base']
|
37 |
+
# openai.api_version = os.getenv['api_version']
|
38 |
+
# openai.api_key = os.getenv['api_key']
|
39 |
+
pass
|
40 |
|
41 |
|
42 |
def get_date_and_duration(self, contract_text: str) -> str:
|