NLPGenius commited on
Commit
d83075f
·
verified ·
1 Parent(s): 4f5a01c

Update flask_app.py

Browse files
Files changed (1) hide show
  1. flask_app.py +1 -1
flask_app.py CHANGED
@@ -171,7 +171,7 @@ def model_inference(retriever, question, llm):
171
  if retrieved_docs else "No references found."
172
  )
173
 
174
- return f"{final_answer}\nReferences: {references}"
175
 
176
  # # Example usage:
177
  # formatted_output = model_inference(retriever, "What is the main purpose of the Khyber Pakhtunkhwa Arms Act, 2013?", llm)
 
171
  if retrieved_docs else "No references found."
172
  )
173
 
174
+ return f"{final_answer}\nReferences: {references}\nContext: {context}"
175
 
176
  # # Example usage:
177
  # formatted_output = model_inference(retriever, "What is the main purpose of the Khyber Pakhtunkhwa Arms Act, 2013?", llm)