Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -4,7 +4,7 @@ import gradio as gr
|
|
| 4 |
|
| 5 |
#OpenAi call
|
| 6 |
def gpt3(texts):
|
| 7 |
-
openai.api_key =
|
| 8 |
|
| 9 |
response = openai.Completion.create(
|
| 10 |
engine="code-davinci-002",
|
|
|
|
| 4 |
|
| 5 |
#OpenAi call
|
| 6 |
def gpt3(texts):
|
| 7 |
+
openai.api_key = apikey2
|
| 8 |
|
| 9 |
response = openai.Completion.create(
|
| 10 |
engine="code-davinci-002",
|