johnhelf commited on
Commit
6a3a961
1 Parent(s): 5de881e

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_api_key == "":
21
- return ['openai key must set!'None]
22
 
23
  with CodeInterpreterSession(model="gpt-3.5-turbo",openai_api_key=openai_key) as session:
24
  #async with CodeInterpreterSession(model="gpt-3.5-turbo",openai_api_key="") as session:
 
18
  fileList.append(file)
19
 
20
  if openai_api_key == "":
21
+ return ['openai key must set!',None]
22
 
23
  with CodeInterpreterSession(model="gpt-3.5-turbo",openai_api_key=openai_key) as session:
24
  #async with CodeInterpreterSession(model="gpt-3.5-turbo",openai_api_key="") as session: