Denver Citizen9 commited on
Commit
58b2a2f
·
1 Parent(s): 1e94fd4

fixed var ref

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -4,7 +4,7 @@ import openai
4
  import os
5
 
6
  def tell_us_about_yo_momma(category, topic):
7
- openAI_key = os.getenv('my_openAI_key')
8
  if openAI_key.strip()=='':
9
  return '[ERROR]: Please enter you Open AI Key. Get your key here : https://platform.openai.com/account/api-keys'
10
 
 
4
  import os
5
 
6
  def tell_us_about_yo_momma(category, topic):
7
+ openAI_key = os.getenv('openAI_key')
8
  if openAI_key.strip()=='':
9
  return '[ERROR]: Please enter you Open AI Key. Get your key here : https://platform.openai.com/account/api-keys'
10