Mpavan45 commited on
Commit
2518461
·
verified ·
1 Parent(s): de9f07e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -4
app.py CHANGED
@@ -139,10 +139,6 @@ with chat_container:
139
  # User input at the bottom
140
  # 🔹 **Fixed Bottom User Input**
141
  user_input = st.text_input("Type your message here:", key="user_message")
142
- if st.button("🆕 New Chat"):
143
- st.session_state.session_id = str(uuid.uuid4()) # Generate new session
144
- st.session_state.messages = [] # Clear chat history
145
- st.rerun() # Refresh the app
146
 
147
  # If user submits a message
148
  if user_input:
 
139
  # User input at the bottom
140
  # 🔹 **Fixed Bottom User Input**
141
  user_input = st.text_input("Type your message here:", key="user_message")
 
 
 
 
142
 
143
  # If user submits a message
144
  if user_input: