prakharg24 commited on
Commit
e86a472
·
verified ·
1 Parent(s): 64b3534

Rename my_pages/pre_information_loss.py to my_pages/txt_pages.py

Browse files
my_pages/pre_information_loss.py DELETED
@@ -1,16 +0,0 @@
1
- import streamlit as st
2
- from utils import add_navigation, add_fadein_text
3
-
4
- def render():
5
- add_navigation("landing", "information_loss")
6
-
7
- paragraphs = [
8
- ("Welcome to the Multiplicity Interactive Demo.", 2),
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.", 2),
11
- ("The takeaway for the demo will be presented when you click 'Get Started'. "
12
- "You may then navigate the demo by interacting with various concepts in the takeaway paragraph "
13
- "and returning as you wish, or follow the guided tutorial which will go through all pieces in order.", 2)
14
- ]
15
-
16
- add_fadein_text(paragraphs)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
my_pages/txt_pages.py ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import streamlit as st
2
+ from utils import add_navigation, add_fadein_text
3
+
4
+ def render():
5
+
6
+ if st.session_state.page=="txt_information_loss":
7
+ add_navigation("landing", "information_loss")
8
+
9
+ paragraphs = [
10
+ ("Welcome to the Multiplicity Interactive Demo.", 2),
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.", 2),
13
+ ("The takeaway for the demo will be presented when you click 'Get Started'. "
14
+ "You may then navigate the demo by interacting with various concepts in the takeaway paragraph "
15
+ "and returning as you wish, or follow the guided tutorial which will go through all pieces in order.", 2)
16
+ ]
17
+
18
+ add_fadein_text(paragraphs)
19
+
20
+ elif st.session_state.page=="txt_rashomon_effect":
21
+ add_navigation("information_loss", "rashomon_effect")
22
+
23
+ paragraphs = [
24
+ ("Welcome to the Multiplicity Interactive Demo 2.", 2),
25
+ ("In this demo, you will explore how developer choices create a multiverse of possible models, "
26
+ "and how these choices connect to concerns of arbitrariness and homogenization in AI.", 2),
27
+ ("The takeaway for the demo will be presented when you click 'Get Started'. "
28
+ "You may then navigate the demo by interacting with various concepts in the takeaway paragraph "
29
+ "and returning as you wish, or follow the guided tutorial which will go through all pieces in order.", 2)
30
+ ]
31
+
32
+ add_fadein_text(paragraphs)