Illia56 commited on
Commit
10acb2b
1 Parent(s): 31b3603

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -173,6 +173,6 @@ if prompt := textinput:
173
  response = st.session_state.qa(
174
  {"query": prompt})
175
  with st.chat_message("assistant", avatar='🦙'):
176
- st.markdown(response["result"]+'\n'+response["source_documents"])
177
  # Add assistant response to chat history
178
  st.session_state.messages.append({"role": "assistant", "content": response})
 
173
  response = st.session_state.qa(
174
  {"query": prompt})
175
  with st.chat_message("assistant", avatar='🦙'):
176
+ st.markdown(str(response["result"])+'\n'+str(response["source_documents"]))
177
  # Add assistant response to chat history
178
  st.session_state.messages.append({"role": "assistant", "content": response})