Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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;
|
66 |
else:
|
67 |
-
st.markdown(f"<div style='text-align: left;
|
|
|
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)
|