Update app.py
Browse files
app.py
CHANGED
@@ -74,4 +74,4 @@ if 'history' not in st.session_state:
|
|
74 |
# Display chat history above the message input
|
75 |
st.text_area("Chat History", value="\n\n".join([f"User: {h[0]}\n\nBot: {h[1]}" for h in st.session_state.history]), height=400, key="chat_history")
|
76 |
|
77 |
-
message = st.text_input("Your message", key="new_message", on_change=send_message)
|
|
|
74 |
# Display chat history above the message input
|
75 |
st.text_area("Chat History", value="\n\n".join([f"User: {h[0]}\n\nBot: {h[1]}" for h in st.session_state.history]), height=400, key="chat_history")
|
76 |
|
77 |
+
message = st.text_input("Your message", key="new_message", on_change=send_message)
|