prakharg24 commited on
Commit
91db57a
·
verified ·
1 Parent(s): 804b2fa

Update my_pages/rashomon_developer.py

Browse files
Files changed (1) hide show
  1. my_pages/rashomon_developer.py +2 -5
my_pages/rashomon_developer.py CHANGED
@@ -1,7 +1,7 @@
1
  import streamlit as st
2
  import matplotlib.pyplot as plt
3
  import numpy as np
4
- from utils import add_navigation, add_instruction_text
5
  from my_pages.rashomon_effect import plot_scatter
6
  from my_pages.rashomon_effect import income, credit, labels, colors
7
 
@@ -95,7 +95,4 @@ def render():
95
  multiplicity_message = """
96
  Your choices during model development lead you to this model.
97
  """
98
- st.markdown(
99
- f"<div style='text-align:center; color:#c0392b; font-size:20px;'>{multiplicity_message}</div>",
100
- unsafe_allow_html=True,
101
- )
 
1
  import streamlit as st
2
  import matplotlib.pyplot as plt
3
  import numpy as np
4
+ from utils import add_navigation, add_instruction_text, add_red_text
5
  from my_pages.rashomon_effect import plot_scatter
6
  from my_pages.rashomon_effect import income, credit, labels, colors
7
 
 
95
  multiplicity_message = """
96
  Your choices during model development lead you to this model.
97
  """
98
+ add_red_text(multiplicity_message)