Kaludi commited on
Commit
748df68
1 Parent(s): 6212edf

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -60,7 +60,7 @@ if st.button("Submit"):
60
  for chat in st.session_state.history:
61
  if chat['is_user']:
62
  st.markdown("<img src='https://i.ibb.co/zVSbGvb/585e4beacb11b227491c3399.png' width='50' height='50' style='float:right;'>", unsafe_allow_html=True)
63
- st.markdown(f"<div style='float:right; padding:10px; background-color: #f2f2f2; border-radius:10px; margin:10px;'>{chat['message']}</div>", unsafe_allow_html=True)
64
  else:
65
  st.markdown("<img src='https://i.ibb.co/LZFvDND/5841c0bda6515b1e0ad75a9e-1.png' width='50' height='50' style='float:left;'>", unsafe_allow_html=True)
66
- st.markdown(f"<div style='float:left; padding:10px; background-color: #f2f2f2; border-radius:10px; margin:10px;'>{chat['message']}</div>", unsafe_allow_html=True)
 
60
  for chat in st.session_state.history:
61
  if chat['is_user']:
62
  st.markdown("<img src='https://i.ibb.co/zVSbGvb/585e4beacb11b227491c3399.png' width='50' height='50' style='float:right;'>", unsafe_allow_html=True)
63
+ st.markdown(f"<div style='float:right; padding:10px; background-color: #2E2E2E; border-radius:10px; margin:10px;'>{chat['message']}</div>", unsafe_allow_html=True)
64
  else:
65
  st.markdown("<img src='https://i.ibb.co/LZFvDND/5841c0bda6515b1e0ad75a9e-1.png' width='50' height='50' style='float:left;'>", unsafe_allow_html=True)
66
+ st.markdown(f"<div style='float:left; padding:10px; background-color: #2E2E2E; border-radius:10px; margin:10px;'>{chat['message']}</div>", unsafe_allow_html=True)