kdevoe commited on
Commit
677a6da
·
verified ·
1 Parent(s): ebefee4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -76,7 +76,7 @@ if prompt := st.chat_input("What is up?"):
76
 
77
  # Display assistant response in chat message container
78
  with st.chat_message("assistant"):
79
- response = qa_memory({"question": prompt})['result']
80
  st.write(response)
81
  # Add assistant response to chat history
82
  st.session_state.messages.append({"role": "assistant", "content": response})
 
76
 
77
  # Display assistant response in chat message container
78
  with st.chat_message("assistant"):
79
+ response = qa_memory({"question": prompt})
80
  st.write(response)
81
  # Add assistant response to chat history
82
  st.session_state.messages.append({"role": "assistant", "content": response})