Kushwanth Chowday Kandala commited on
Commit
7cd94b3
1 Parent(s): fb84b3c

update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -3
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
- for i in st.session_state["chat_history"]:
53
- with st.chat_message(name=i["role"]):
54
- st.write(i["content"])
 
 
 
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"])