Spaces:
Runtime error
Runtime error
Changed API Key code
Browse files
app.py
CHANGED
|
@@ -3,7 +3,7 @@ import random
|
|
| 3 |
import gradio as gr
|
| 4 |
import os
|
| 5 |
|
| 6 |
-
openai.api_key = os.environ['OPENAI_API_KEY']
|
| 7 |
|
| 8 |
manual = r"""Input your variables in the fields on the left. The last two (Extra input and Team) are optional, but recommended. You can use it to steer the prompt into a certain direction by adding more requirements.
|
| 9 |
"""
|
|
|
|
| 3 |
import gradio as gr
|
| 4 |
import os
|
| 5 |
|
| 6 |
+
openai.api_key = os.environ.get['OPENAI_API_KEY']
|
| 7 |
|
| 8 |
manual = r"""Input your variables in the fields on the left. The last two (Extra input and Team) are optional, but recommended. You can use it to steer the prompt into a certain direction by adding more requirements.
|
| 9 |
"""
|