sabssag commited on
Commit
b553efd
·
verified ·
1 Parent(s): 4086994

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -62,6 +62,6 @@ st.text_input("Enter your message:", key="input", on_change=submit_input)
62
  st.subheader("Chat History")
63
  for role, text in st.session_state['chat_history']:
64
  if role == "You":
65
- st.markdown(f"<div style='text-align: right; color: red;'>{role}: {text}</div>", unsafe_allow_html=True)
66
  else:
67
- st.markdown(f"<div style='text-align: left; color: green;'>{role}: {text}</div>", unsafe_allow_html=True)
 
62
  st.subheader("Chat History")
63
  for role, text in st.session_state['chat_history']:
64
  if role == "You":
65
+ st.markdown(f"<div style='text-align: right;'>{role}: {text}</div>", unsafe_allow_html=True)
66
  else:
67
+ st.markdown(f"<div style='text-align: left;'>{role}: {text}</div>", unsafe_allow_html=True)