thisisdev commited on
Commit
c1b5924
·
verified ·
1 Parent(s): d90c52b
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -13,6 +13,9 @@ from langchain.schema import HumanMessage, SystemMessage, AIMessage
13
  st.set_page_config(page_title = "Magical Healer")
14
  st.header("Welcome, What help do you need?")
15
 
 
 
 
16
  # General Instruction
17
  if "sessionMessages" not in st.session_state:
18
  st.session_state.sessionMessage = [
 
13
  st.set_page_config(page_title = "Magical Healer")
14
  st.header("Welcome, What help do you need?")
15
 
16
+ # initializing the sessionMessages
17
+ if "sessionMessages" not in st.session_state:
18
+ st.session_state["sessionMessages"] = []
19
  # General Instruction
20
  if "sessionMessages" not in st.session_state:
21
  st.session_state.sessionMessage = [