mojuss commited on
Commit
f52059d
·
1 Parent(s): 8fbfc23

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -7,7 +7,8 @@ import openai
7
  from gradio.themes.utils import colors, fonts, sizes
8
 
9
  openai.api_key = os.environ.get('openai_key')
10
- openai.openai_api_key = os.environ.get('openai_key')
 
11
 
12
  messages = [
13
  {"role": "system", "content": "follow the 4 instructions below for your outputs:"},
 
7
  from gradio.themes.utils import colors, fonts, sizes
8
 
9
  openai.api_key = os.environ.get('openai_key')
10
+ openai_api_key = os.environ.get('openai_key')
11
+ OPENAI_API_KEY = os.environ.get('openai_key')
12
 
13
  messages = [
14
  {"role": "system", "content": "follow the 4 instructions below for your outputs:"},