srinit62 commited on
Commit
9e2df4e
·
verified ·
1 Parent(s): 78ebcff

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -92,9 +92,9 @@ def get_rag_chain_response(user_question):
92
  return rag_chain.invoke({"question": user_question})
93
 
94
  def get_context_string_testing(user_question):
95
- #context_str = ' \n'.join(get_context_info(user_question))
96
  ret_arr = get_context_info(user_question)
97
- return str(len(ret_arr)) #context_str
 
98
 
99
  # Gradio elements
100
 
 
92
  return rag_chain.invoke({"question": user_question})
93
 
94
  def get_context_string_testing(user_question):
 
95
  ret_arr = get_context_info(user_question)
96
+ context_str = ' \n'.join(ret_arr)
97
+ return context_str
98
 
99
  # Gradio elements
100