Update app.py
Browse files
app.py
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
import gradio as gr
|
2 |
import openai, config
|
3 |
-
openai.api_key
|
4 |
|
5 |
messages = [{"role": "system", "content": 'You are Python ML developer. reply only in python code'}]
|
6 |
|
|
|
1 |
import gradio as gr
|
2 |
import openai, config
|
3 |
+
openai.api_key= os.environ.get("openai.api_key")
|
4 |
|
5 |
messages = [{"role": "system", "content": 'You are Python ML developer. reply only in python code'}]
|
6 |
|