Spaces:
Runtime error
Runtime error
Denver Citizen9
commited on
Commit
·
58b2a2f
1
Parent(s):
1e94fd4
fixed var ref
Browse files
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('
|
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 |
|