Spaces:
Running
Running
updated completion model
Browse files
app.py
CHANGED
@@ -6,7 +6,7 @@ openai.api_key = os.environ["OPENAI_KEY"]
|
|
6 |
|
7 |
def answer_question(question):
|
8 |
response = openai.Completion.create(
|
9 |
-
engine="text-davinci-
|
10 |
prompt="Make a step by step how to based on the prompt: " + question,
|
11 |
max_tokens=1024,
|
12 |
n=1,
|
|
|
6 |
|
7 |
def answer_question(question):
|
8 |
response = openai.Completion.create(
|
9 |
+
engine="text-davinci-003",
|
10 |
prompt="Make a step by step how to based on the prompt: " + question,
|
11 |
max_tokens=1024,
|
12 |
n=1,
|