captain-awesome commited on
Commit
8c67f60
1 Parent(s): 986e2b7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -42,8 +42,8 @@ else:
42
  user_query = st.chat_input("Type your message here...")
43
  if user_query is not None and user_query !="":
44
  response = get_response(user_query)
45
- st.session_state.chat_history .append(HumanMessage(content=user_query))
46
- st.session_state.chat_history .append(AIMessageMessage(content=response))
47
 
48
 
49
  #conversation
 
42
  user_query = st.chat_input("Type your message here...")
43
  if user_query is not None and user_query !="":
44
  response = get_response(user_query)
45
+ st.session_state.chat_history.append(HumanMessage(content=user_query))
46
+ st.session_state.chat_history.append(AIMessage(content=response))
47
 
48
 
49
  #conversation