Spaces:
Sleeping
Sleeping
Kushwanth Chowday Kandala
commited on
Commit
•
7cd94b3
1
Parent(s):
fb84b3c
update app.py
Browse files
app.py
CHANGED
@@ -49,6 +49,8 @@ if "chat_history" not in st.session_state:
|
|
49 |
|
50 |
st.chat_input("Enter your message", on_submit=chat_actions, key="chat_input")
|
51 |
|
52 |
-
|
53 |
-
|
54 |
-
|
|
|
|
|
|
49 |
|
50 |
st.chat_input("Enter your message", on_submit=chat_actions, key="chat_input")
|
51 |
|
52 |
+
st.write(st.session_state["chat_history"])
|
53 |
+
|
54 |
+
# for i in st.session_state["chat_history"]:
|
55 |
+
# with st.chat_message(name=i["role"]):
|
56 |
+
# st.write(i["content"])
|