Spaces:
Sleeping
Sleeping
Update chatbot
Browse files- chatbot.py +2 -2
chatbot.py
CHANGED
|
@@ -124,9 +124,9 @@ def render_chatbot(code: str, output: str, error: str):
|
|
| 124 |
with chat_container:
|
| 125 |
for q, a in st.session_state.conversation:
|
| 126 |
st.markdown(
|
| 127 |
-
f'<div class="chat-message user-message"
|
| 128 |
unsafe_allow_html=True)
|
| 129 |
st.markdown(
|
| 130 |
-
f'<div class="chat-message bot-message"
|
| 131 |
unsafe_allow_html=True)
|
| 132 |
|
|
|
|
| 124 |
with chat_container:
|
| 125 |
for q, a in st.session_state.conversation:
|
| 126 |
st.markdown(
|
| 127 |
+
f'<div class="chat-message user-message">You:- {q}</div>',
|
| 128 |
unsafe_allow_html=True)
|
| 129 |
st.markdown(
|
| 130 |
+
f'<div class="chat-message bot-message">Assistant:- {a}</div>',
|
| 131 |
unsafe_allow_html=True)
|
| 132 |
|