research14 commited on
Commit
a42ddd2
1 Parent(s): e054870
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -37,8 +37,8 @@ def linguistic_features_fn(message):
37
 
38
  return formatted_output
39
 
40
- os.environ['OPENAI_API_TOKEN'] = OPENAI_API_KEY
41
- openai.api_key = os.environ['OPENAI_API_TOKEN']
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 '''