prakharg24 commited on
Commit
191cbb3
·
verified ·
1 Parent(s): e86a472

Update my_pages/information_loss.py

Browse files
Files changed (1) hide show
  1. my_pages/information_loss.py +3 -10
my_pages/information_loss.py CHANGED
@@ -1,6 +1,6 @@
1
  import pandas as pd
2
  import streamlit as st
3
- from utils import go_to
4
 
5
  ALL_FEATURES = [
6
  ("Liquid Assets", "Liquid Assets", None),
@@ -16,6 +16,8 @@ ALL_FEATURES = [
16
  ]
17
 
18
  def render():
 
 
19
  st.markdown(
20
  """
21
  <style>
@@ -94,12 +96,3 @@ def render():
94
  # st.dataframe(df, use_container_width=True)
95
  # else:
96
  # st.info("No features added yet. Click a feature above to add it to the dataset.")
97
-
98
- st.markdown("---")
99
- col1, col2, col3, col4 = st.columns([2, 1, 1, 1])
100
- with col3:
101
- if st.button("Go Home"):
102
- go_to("home")
103
- with col4:
104
- if st.button("Next"):
105
- go_to("rashomon_effect")
 
1
  import pandas as pd
2
  import streamlit as st
3
+ from utils import add_navigation
4
 
5
  ALL_FEATURES = [
6
  ("Liquid Assets", "Liquid Assets", None),
 
16
  ]
17
 
18
  def render():
19
+ add_navigation("txt_information_loss", "txt_rashomon_effect")
20
+
21
  st.markdown(
22
  """
23
  <style>
 
96
  # st.dataframe(df, use_container_width=True)
97
  # else:
98
  # st.info("No features added yet. Click a feature above to add it to the dataset.")