andreska commited on
Commit
a50d8f6
·
verified ·
1 Parent(s): 4716ee7

Fix issue with not displaying reintroduced conversation as html

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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"session: {st.session_state.conversation}")
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