RickyIG commited on
Commit
4ceaf23
1 Parent(s): 68aacd3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -14,8 +14,7 @@ import ast
14
 
15
  GPT_MODEL = "gpt-3.5-turbo-1106"
16
 
17
- from google.colab import userdata
18
- openai.api_key = userdata.get('OPENAI_API_KEY')
19
 
20
  def exec_python(cell):
21
  # result = 0
 
14
 
15
  GPT_MODEL = "gpt-3.5-turbo-1106"
16
 
17
+ openai.api_key = os.environ['OPENAI_API_KEY']
 
18
 
19
  def exec_python(cell):
20
  # result = 0