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