krishbaresha commited on
Commit
6ecdb55
·
verified ·
1 Parent(s): 280443e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -4
app.py CHANGED
@@ -157,7 +157,4 @@ with st.form("chat_form", clear_on_submit=True):
157
  except:
158
  reply = "⚠️ Something went wrong. Try again."
159
 
160
- st.session_state.messages.append({"role": "assistant", "content": reply})
161
-
162
- # Refresh chat container safely
163
- st.experimental_rerun()
 
157
  except:
158
  reply = "⚠️ Something went wrong. Try again."
159
 
160
+ st.session_state.messages.append({"role": "assistant", "content": reply})