srinit62 commited on
Commit
70900f3
·
verified ·
1 Parent(s): c2f2d7f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -92,8 +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
- return context_str
 
97
 
98
  # Gradio elements
99
 
 
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