ArturG9 commited on
Commit
62b7976
1 Parent(s): 26e268c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -39,7 +39,7 @@ print(documents[0])
39
  docs = split_docs(documents, 350, 40)
40
 
41
  print("docs")
42
- print(docs[0])
43
  vectorstore = get_vectorstore(docs)
44
 
45
 
@@ -51,8 +51,7 @@ def main(vectorstore):
51
  st.set_page_config(page_title="Conversational RAG Chatbot", page_icon=":robot:")
52
  st.title("Conversational RAG Chatbot")
53
 
54
- if "documents" not in st.session_state:
55
- st.session_state.documents = []
56
 
57
  if "conversation_chain" not in st.session_state:
58
  st.session_state.conversation_chain = None
 
39
  docs = split_docs(documents, 350, 40)
40
 
41
  print("docs")
42
+ print(docs)
43
  vectorstore = get_vectorstore(docs)
44
 
45
 
 
51
  st.set_page_config(page_title="Conversational RAG Chatbot", page_icon=":robot:")
52
  st.title("Conversational RAG Chatbot")
53
 
54
+
 
55
 
56
  if "conversation_chain" not in st.session_state:
57
  st.session_state.conversation_chain = None