Spaces:
Sleeping
Sleeping
Fix issue with not displaying reintroduced conversation as html
Browse files
app.py
CHANGED
|
@@ -45,7 +45,7 @@ st.markdown(
|
|
| 45 |
placeholder = st.empty()
|
| 46 |
# Define the placeholder globally (outside columns)
|
| 47 |
if st.session_state and st.session_state.conversation:
|
| 48 |
-
placeholder.markdown(f"
|
| 49 |
else:
|
| 50 |
placeholder.markdown(f'<div class="scrollable-div"><p>Welcome! I am your Adrega AI assistant</p></div>', unsafe_allow_html=True)
|
| 51 |
|
|
|
|
| 45 |
placeholder = st.empty()
|
| 46 |
# Define the placeholder globally (outside columns)
|
| 47 |
if st.session_state and st.session_state.conversation:
|
| 48 |
+
placeholder.markdown(f'<div class="scrollable-div">{st.session_state.conversation}</div>', unsafe_allow_html=True)
|
| 49 |
else:
|
| 50 |
placeholder.markdown(f'<div class="scrollable-div"><p>Welcome! I am your Adrega AI assistant</p></div>', unsafe_allow_html=True)
|
| 51 |
|