Update app.py
Browse files
app.py
CHANGED
@@ -6,8 +6,7 @@ import os
|
|
6 |
import openai
|
7 |
from gradio.themes.utils import colors, fonts, sizes
|
8 |
|
9 |
-
|
10 |
-
openai.api_key = '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'
|
11 |
|
12 |
messages = [
|
13 |
{"role": "system", "content": "follow the 4 instructions below for your outputs:"},
|
|
|
6 |
import openai
|
7 |
from gradio.themes.utils import colors, fonts, sizes
|
8 |
|
9 |
+
openai.api_key = os.environ.get('openai_key')
|
|
|
10 |
|
11 |
messages = [
|
12 |
{"role": "system", "content": "follow the 4 instructions below for your outputs:"},
|