Update app.py
Browse files
app.py
CHANGED
@@ -39,7 +39,7 @@ print(documents[0])
|
|
39 |
docs = split_docs(documents, 350, 40)
|
40 |
|
41 |
print("docs")
|
42 |
-
print(docs
|
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 |
-
|
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
|