Linkmkb commited on
Commit
9014ccb
1 Parent(s): fb0e70d

updated completion model

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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-002",
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,