ryanrwatkins commited on
Commit
2976cd5
Β·
1 Parent(s): 38af3a4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -60,7 +60,7 @@ def on_prompt_template_change(prompt_template):
60
  def submit_message(prompt, prompt_template, temperature, max_tokens, context_length, state):
61
 
62
  openai.api_key = os.environ['openai_key']
63
- os.environ["OPENAI_API_KEY"] = = os.environ['openai_key']
64
 
65
  # load in all the files
66
  path = './files'
 
60
  def submit_message(prompt, prompt_template, temperature, max_tokens, context_length, state):
61
 
62
  openai.api_key = os.environ['openai_key']
63
+ os.environ["OPENAI_API_KEY"] = os.environ['openai_key']
64
 
65
  # load in all the files
66
  path = './files'