Spaces:
Running
Running
productizationlabs
commited on
Commit
·
5aee571
1
Parent(s):
2cd8a15
Update app.py
Browse files
app.py
CHANGED
@@ -1,8 +1,9 @@
|
|
1 |
|
|
|
2 |
import openai
|
3 |
import gradio as gr
|
4 |
|
5 |
-
openai.api_key = "
|
6 |
|
7 |
messages = [
|
8 |
{"role": "system", "content": ""},
|
|
|
1 |
|
2 |
+
import os
|
3 |
import openai
|
4 |
import gradio as gr
|
5 |
|
6 |
+
openai.api_key = os.environ["OPENAPI_API_KEY"]
|
7 |
|
8 |
messages = [
|
9 |
{"role": "system", "content": ""},
|