Spaces:
Runtime error
Runtime error
beta2
Browse files
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 = [
|