prakharg24 commited on
Commit
c6fa63e
·
verified ·
1 Parent(s): e7897d7

Update my_pages/information_loss.py

Browse files
Files changed (1) hide show
  1. my_pages/information_loss.py +2 -5
my_pages/information_loss.py CHANGED
@@ -1,6 +1,6 @@
1
  import pandas as pd
2
  import streamlit as st
3
- from utils import add_navigation, add_instruction_text
4
 
5
  ALL_FEATURES = [
6
  ("Liquid Assets", ["Liquid Assets"],
@@ -70,10 +70,7 @@ def render():
70
  st.rerun()
71
 
72
  if "show_message" in st.session_state:
73
- st.markdown(
74
- f"<div style='text-align:center; color:#c0392b; font-size:20px; margin:14px 0;'>{st.session_state.show_message}</div>",
75
- unsafe_allow_html=True,
76
- )
77
  del st.session_state.show_message
78
 
79
  #### Selected features shown at the bottom
 
1
  import pandas as pd
2
  import streamlit as st
3
+ from utils import add_navigation, add_instruction_text, add_red_text
4
 
5
  ALL_FEATURES = [
6
  ("Liquid Assets", ["Liquid Assets"],
 
70
  st.rerun()
71
 
72
  if "show_message" in st.session_state:
73
+ add_red_text(st.session_state.show_message)
 
 
 
74
  del st.session_state.show_message
75
 
76
  #### Selected features shown at the bottom