prakharg24 commited on
Commit
f778b71
·
verified ·
1 Parent(s): 72cf2f6

Update my_pages/landing.py

Browse files
Files changed (1) hide show
  1. my_pages/landing.py +6 -10
my_pages/landing.py CHANGED
@@ -1,22 +1,18 @@
1
  import streamlit as st
2
- from utils import go_to
3
 
4
  def render():
 
 
5
  st.markdown(
6
  """
7
  <div style='text-align: center; font-size:18px; color:gray;'>
8
  Welcome to the Multiplicity Interactive Demo.<br><br>
9
  In this demo, you will explore how developer choices create a multiverse of possible models,
10
  and how these choices connect to concerns of arbitrariness and homogenization in AI.<br><br>
11
- Navigation buttons will appear at the top of each page to move through the demo.
12
- To begin the demo, click 'Get Started'.<br><br>
13
  </div>
14
  """,
15
  unsafe_allow_html=True
16
- )
17
-
18
- col1, col2, col3 = st.columns([2, 1, 2])
19
- with col2:
20
- # center_button = st.button('Button')
21
- if st.button("Get Started"):
22
- go_to("txt_information_loss")
 
1
  import streamlit as st
2
+ from utils import add_navigation
3
 
4
  def render():
5
+ add_navigation(None, "txt_information_loss")
6
+
7
  st.markdown(
8
  """
9
  <div style='text-align: center; font-size:18px; color:gray;'>
10
  Welcome to the Multiplicity Interactive Demo.<br><br>
11
  In this demo, you will explore how developer choices create a multiverse of possible models,
12
  and how these choices connect to concerns of arbitrariness and homogenization in AI.<br><br>
13
+ Use the navigation buttons at the top of each page to move through the demo.
14
+ To begin the demo, click 'Next'.<br><br>
15
  </div>
16
  """,
17
  unsafe_allow_html=True
18
+ )