johnhelf commited on
Commit
9b6c202
·
1 Parent(s): 90f4f45

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -18,7 +18,7 @@ def codeinterpreter(openai_key,prompt, files):
18
  fileList.append(file)
19
 
20
  if openai_key == "123321":
21
- openai_key = getenv("openaikey")
22
  else:
23
  return ['openai key must set!',None]
24
 
 
18
  fileList.append(file)
19
 
20
  if openai_key == "123321":
21
+ openai_key = os.getenv("openaikey")
22
  else:
23
  return ['openai key must set!',None]
24