adpmdrones commited on
Commit
b7c5efe
·
1 Parent(s): 97091ae

update to gpt-4

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -127,7 +127,7 @@ def generate_answer(question,openAI_key):
127
  "answer should be short and concise. Answer step-by-step. \n\nQuery: {question}\nAnswer: "
128
 
129
  prompt += f"Query: {question}\nAnswer:"
130
- answer = generate_text(openAI_key, prompt,"text-davinci-003")
131
  return answer
132
 
133
 
 
127
  "answer should be short and concise. Answer step-by-step. \n\nQuery: {question}\nAnswer: "
128
 
129
  prompt += f"Query: {question}\nAnswer:"
130
+ answer = generate_text(openAI_key, prompt,"gpt-4")
131
  return answer
132
 
133