vraman54 commited on
Commit
ad8350d
1 Parent(s): b5d1eef

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -67,6 +67,6 @@ if prompt := st.chat_input("Ask me anything!"):
67
  msg_placeholder.empty()
68
  full_response += response
69
  full_response_string = []
70
- full_response_string.append(full_response.split('Answer:'))
71
  msg_placeholder.markdown(full_response_string[1])
72
- st.session_state.messages.append({"role": "assistant", "content": full_response_string[1]})
 
67
  msg_placeholder.empty()
68
  full_response += response
69
  full_response_string = []
70
+ full_response_string = full_response.split('Answer:')
71
  msg_placeholder.markdown(full_response_string[1])
72
+ st.session_state.messages.append({"role": "assistant", "content": full_response_string[1]})