Spaces:
Runtime error
Runtime error
Update qa_engine/qa_engine.py
Browse files- qa_engine/qa_engine.py +0 -1
qa_engine/qa_engine.py
CHANGED
@@ -301,7 +301,6 @@ class QAEngine():
|
|
301 |
question_processed = QAEngine._preprocess_question(question)
|
302 |
answer = self.llm_chain.run(question=question_processed, context=context)
|
303 |
answer = QAEngine._postprocess_answer(answer)
|
304 |
-
answer = self.llm_chain.run(question=question, context=context)
|
305 |
response.set_answer(answer)
|
306 |
logger.info('Received answer')
|
307 |
|
|
|
301 |
question_processed = QAEngine._preprocess_question(question)
|
302 |
answer = self.llm_chain.run(question=question_processed, context=context)
|
303 |
answer = QAEngine._postprocess_answer(answer)
|
|
|
304 |
response.set_answer(answer)
|
305 |
logger.info('Received answer')
|
306 |
|