ArturG9 commited on
Commit
f9b8984
1 Parent(s): 443a65d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -0
app.py CHANGED
@@ -100,6 +100,10 @@ def create_retriever_from_chroma(vectorstore_path="docs/chroma/", search_type='m
100
 
101
  def main():
102
 
 
 
 
 
103
  st.set_page_config(page_title="Chat with multiple PDFs",
104
  page_icon=":books:")
105
  st.write(css, unsafe_allow_html=True)
 
100
 
101
  def main():
102
 
103
+
104
+ if "messages" not in st.session_state:
105
+ st.session_state.messages = None
106
+
107
  st.set_page_config(page_title="Chat with multiple PDFs",
108
  page_icon=":books:")
109
  st.write(css, unsafe_allow_html=True)