Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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 |
|