cogcorp commited on
Commit
e705c33
·
1 Parent(s): fd4adb2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -1
app.py CHANGED
@@ -123,7 +123,6 @@ def generate_answer(question):
123
  "search results which have nothing to do with the question. Only answer what is asked. The "\
124
  "answer should be short and concise. Answer step-by-step. \n\nQuery: {question}\nAnswer: "
125
 
126
- prompt += f"Query: {question}\nAnswer:"
127
  answer = generate_text(prompt, "davinci")
128
  return answer
129
 
 
123
  "search results which have nothing to do with the question. Only answer what is asked. The "\
124
  "answer should be short and concise. Answer step-by-step. \n\nQuery: {question}\nAnswer: "
125
 
 
126
  answer = generate_text(prompt, "davinci")
127
  return answer
128