Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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 |
|