lunarflu HF staff commited on
Commit
cf87c81
1 Parent(s): 1d486a2

Update qa_engine/qa_engine.py

Browse files
Files changed (1) hide show
  1. 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