Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
import os
|
2 |
import gradio as gr
|
3 |
import openai
|
4 |
-
openai.api_key = os.environ['
|
5 |
|
6 |
messages = [{"role": "system", "content": 'You are a helpful technology assistant.'}]
|
7 |
|
|
|
1 |
import os
|
2 |
import gradio as gr
|
3 |
import openai
|
4 |
+
openai.api_key = os.environ['OPENAI_API_KEY']
|
5 |
|
6 |
messages = [{"role": "system", "content": 'You are a helpful technology assistant.'}]
|
7 |
|