amn-sdqi commited on
Commit
8de8588
·
1 Parent(s): 54757ec

bug fixes

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -46,10 +46,10 @@ if st.session_state.context:
46
  if question:
47
  result = qa(question=question, context=st.session_state.context)
48
 
49
- # save convo
50
- st.session_state.chat_history.apend({"user": question, "bot": result["answer"]})
51
 
52
- # Display chat
53
 
54
  for chat in st.session_state.chat_history:
55
  st.markdown(f"**You:** {chat['user']}")
 
46
  if question:
47
  result = qa(question=question, context=st.session_state.context)
48
 
49
+ # save convo
50
+ st.session_state.chat_history.append({"user": question, "bot": result["answer"]})
51
 
52
+ # Display chat
53
 
54
  for chat in st.session_state.chat_history:
55
  st.markdown(f"**You:** {chat['user']}")