Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -9,8 +9,7 @@ st.title("💬 Chatbot")
|
|
| 9 |
st.caption("")
|
| 10 |
|
| 11 |
# Initialize session state for storing messages if it doesn't already exist
|
| 12 |
-
|
| 13 |
-
st.session_state["messages"] = [{"role": "assistant", "content": "How can I help you?"}]
|
| 14 |
|
| 15 |
# Display all previous messages
|
| 16 |
for msg in st.session_state.messages:
|
|
|
|
| 9 |
st.caption("")
|
| 10 |
|
| 11 |
# Initialize session state for storing messages if it doesn't already exist
|
| 12 |
+
|
|
|
|
| 13 |
|
| 14 |
# Display all previous messages
|
| 15 |
for msg in st.session_state.messages:
|