hashirehtisham commited on
Commit
9eab490
·
verified ·
1 Parent(s): d0f5dfb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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)