Spaces:
Sleeping
Sleeping
research14
commited on
Commit
•
a42ddd2
1
Parent(s):
e054870
update
Browse files
app.py
CHANGED
@@ -37,8 +37,8 @@ def linguistic_features_fn(message):
|
|
37 |
|
38 |
return formatted_output
|
39 |
|
40 |
-
os.environ['
|
41 |
-
openai.api_key = os.environ['
|
42 |
|
43 |
def chat(user_prompt, model = 'gpt-3.5-turbo', temperature = 0, verbose = False):
|
44 |
''' Normal call of OpenAI API '''
|
|
|
37 |
|
38 |
return formatted_output
|
39 |
|
40 |
+
os.environ['OPENAI_API_KEY']
|
41 |
+
openai.api_key = os.environ['OPENAI_API_KEY']
|
42 |
|
43 |
def chat(user_prompt, model = 'gpt-3.5-turbo', temperature = 0, verbose = False):
|
44 |
''' Normal call of OpenAI API '''
|