captain-awesome
commited on
Commit
•
d0e7841
1
Parent(s):
24b8963
Update app.py
Browse files
app.py
CHANGED
@@ -30,12 +30,10 @@ user_query = st.chat_input("Type your message here...")
|
|
30 |
if user_query is not None and user_query !="":
|
31 |
response = get_response(user_query)
|
32 |
chat_history.append(HumanMessage(content=user_query))
|
33 |
-
|
34 |
-
with st.chat_message("Human"):
|
35 |
-
st.write(user_query)
|
36 |
|
37 |
-
|
38 |
-
|
39 |
|
40 |
|
41 |
|
|
|
30 |
if user_query is not None and user_query !="":
|
31 |
response = get_response(user_query)
|
32 |
chat_history.append(HumanMessage(content=user_query))
|
33 |
+
chat_history.append(AIMessageMessage(content=response))
|
|
|
|
|
34 |
|
35 |
+
|
36 |
+
|
37 |
|
38 |
|
39 |
|