Update app.py
Browse files
app.py
CHANGED
@@ -14,8 +14,7 @@ import ast
|
|
14 |
|
15 |
GPT_MODEL = "gpt-3.5-turbo-1106"
|
16 |
|
17 |
-
|
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
|