peterciank commited on
Commit
9fbaa3c
·
verified ·
1 Parent(s): be35467

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -70,9 +70,9 @@ if st.session_state["chat_history"]:
70
  if user_input:
71
  bot_response = chat(user_input, st.session_state["chat_history"], system_prompt)
72
  st.session_state["chat_history"].append((user_input, bot_response))
73
- st.experimental_rerun()
74
 
75
  # Clear chat history button
76
  if st.button("Clear Chat"):
77
  st.session_state["chat_history"] = []
78
- st.experimental_rerun()
 
70
  if user_input:
71
  bot_response = chat(user_input, st.session_state["chat_history"], system_prompt)
72
  st.session_state["chat_history"].append((user_input, bot_response))
73
+ #st.experimental_rerun()
74
 
75
  # Clear chat history button
76
  if st.button("Clear Chat"):
77
  st.session_state["chat_history"] = []
78
+ #st.experimental_rerun()