Mr-Vicky-01 commited on
Commit
bd36e08
·
verified ·
1 Parent(s): c1136c7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -111,5 +111,5 @@ if st.session_state.messages[-1]["role"] != "assistant":
111
  with st.chat_message("assistant", avatar="👽"):
112
  response = handle_query(user_prompt)
113
  full_response = st.write(response)
114
- message = {"role": "assistant", "content": full_response}
115
- st.session_state.messages.append(message)
 
111
  with st.chat_message("assistant", avatar="👽"):
112
  response = handle_query(user_prompt)
113
  full_response = st.write(response)
114
+ message = {"role": "assistant", "content": full_response}
115
+ st.session_state.messages.append(message)