ArturG9 commited on
Commit
b368f50
1 Parent(s): f9b8984

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -102,7 +102,10 @@ 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:")
 
102
 
103
 
104
  if "messages" not in st.session_state:
105
+ st.session_state["messages"] = [
106
+ {"role": "assistant", "content": "Hi, I'm a chatbot who can search the web. How can I help you?"}
107
+ ]
108
+
109
 
110
  st.set_page_config(page_title="Chat with multiple PDFs",
111
  page_icon=":books:")