Carlosito16 commited on
Commit
3a64521
1 Parent(s): 25250d6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -141,6 +141,8 @@ def new_retrieve_answer():
141
  "generated_answer": answer['answer'][6:],
142
  "rating":0 }
143
 
 
 
144
  st.session_state.history.append(log)
145
  update_worksheet_qa()
146
  st.session_state.chat_history.append({"message": st.session_state.my_text_input, "is_user": True})
 
141
  "generated_answer": answer['answer'][6:],
142
  "rating":0 }
143
 
144
+
145
+ print(answer["chat_history"])
146
  st.session_state.history.append(log)
147
  update_worksheet_qa()
148
  st.session_state.chat_history.append({"message": st.session_state.my_text_input, "is_user": True})