yogjoshi14 commited on
Commit
40578e5
1 Parent(s): 041862b

initialisation of retriver

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -153,6 +153,9 @@ def boot():
153
  input_fields()
154
  #
155
  st.button("Submit Documents", on_click=process_documents)
 
 
 
156
  #
157
  if "messages" not in st.session_state:
158
  st.session_state.messages = []
 
153
  input_fields()
154
  #
155
  st.button("Submit Documents", on_click=process_documents)
156
+
157
+ if "retriever" not in st.session_state:
158
+ st.session_state.retriever = None
159
  #
160
  if "messages" not in st.session_state:
161
  st.session_state.messages = []