vraman54 commited on
Commit
1395b2d
1 Parent(s): 11d5f57

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -67,7 +67,8 @@ if prompt := st.chat_input("Ask me anything!"):
67
 
68
  with st.chat_message("user"):
69
  st.markdown(prompt)
70
- st.session_state.messages.append({"role":"system","content":"Being a Q&A bot, remove the context passed in the response provided by you"},{"role": "user", "content": prompt})
 
71
 
72
  with st.chat_message("assistant"):
73
  msg_placeholder = st.empty()
 
67
 
68
  with st.chat_message("user"):
69
  st.markdown(prompt)
70
+ st.session_state.messages.append({"role":"system","content":"Being a Q&A bot, remove the context passed in the response provided by you"})
71
+ st.session_state.messages.append({"role": "user", "content": prompt})
72
 
73
  with st.chat_message("assistant"):
74
  msg_placeholder = st.empty()