Spaces:
Build error
Build error
Commit ·
5c64319
1
Parent(s): 2bdde4b
Update app.py
Browse files
app.py
CHANGED
|
@@ -2,7 +2,7 @@ import openai
|
|
| 2 |
import gradio as gr
|
| 3 |
|
| 4 |
# Set up OpenAI API credentials
|
| 5 |
-
openai.api_key =
|
| 6 |
|
| 7 |
# Set up the GPT-3 model
|
| 8 |
model_engine = "gpt-3.5-turbo-0301"
|
|
|
|
| 2 |
import gradio as gr
|
| 3 |
|
| 4 |
# Set up OpenAI API credentials
|
| 5 |
+
openai.api_key = OPENAI_API_KEY
|
| 6 |
|
| 7 |
# Set up the GPT-3 model
|
| 8 |
model_engine = "gpt-3.5-turbo-0301"
|