joeli88 commited on
Commit
be9691b
1 Parent(s): 6b85617

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -1,7 +1,7 @@
1
  import openai
2
  import gradio as gr
3
  import os
4
- os.environ.getattribute("openai_key")
5
 
6
  openai.api_key = "openai_key"
7
 
 
1
  import openai
2
  import gradio as gr
3
  import os
4
+ os.environ["openai_key"]
5
 
6
  openai.api_key = "openai_key"
7