-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinvisible.py
89 lines (73 loc) · 4.88 KB
/
invisible.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
import streamlit as st
import uuid
import time
from streamlit_lottie import st_lottie
def stream_data():
for word in TEXT.split(" "):
yield word + " "
time.sleep(0.02)
col1, col2 = st.columns([2, 1])
with col2:
st.image("images/iceberg.gif")
with col1:
TEXT = """
The Internet has transformed our lives, but has also introduced the challenge of _invisible information_ — vital knowledge we consistently miss out on. In today's world of exponentially growing information, algorithms prioritize content that maximizes consumption, and humans deal with this already priotized content by consistently consuming the tip of the information iceberg. This is the challenge we aim to tackle — by understanding, quantifying, and boosting invisible knowledge across the Internet.
We are presently leading research along these themes:
"""
# Initialize user ID and display text
if "userid" not in st.session_state:
st.session_state.userid = str(uuid.uuid4())
st.write(stream_data)
else:
st.write(TEXT)
tab1, tab2, tab3, tab4, tab5 = st.tabs(["[In]visible", "PictoPercept", "Lost Without Translation", "Shadowbans", "Beyond Words"])
with tab1:
col_a, col_b = st.columns([3, 1])
with col_a:
discover_choice = st.radio("Choose a category to discover invisible content.", ["Films", "Music", "Books", "News"])
if discover_choice == "Films":
if st.button('Find an invisible film!', type='primary'):
st.info("Application under development...")
if discover_choice == "Music":
if st.button('Find an invisible piece of music!', type='primary'):
st.info("Application under development ...")
if discover_choice == "Books":
if st.button('Find an invisible book!', type='primary'):
st.info("Application under development...")
if discover_choice == "News":
if st.button('Find some invisible news!', type='primary'):
st.info("Application under development...")
with col_b:
st_lottie("https://lottie.host/ec3d9846-8444-4cfc-ae03-502e05cb7b93/MMktMDfAsz.json")
with tab2:
col_c, col_d = st.columns([2.6, 1])
with col_c:
st.write("PictoPercept is an innovative visual survey approach designed to reveal invisible biases and preferences that traditional surveys fail to capture. Using rapid, visual forced-choice tasks, it captures subconscious attitudes shaped by digital media exposure and social identity cues, which respondents might otherwise conceal in favor of social desirability.")
btn2 = st.link_button("Go to PictoPercept", url = "https://pictopercept.streamlit.app/", use_container_width=True, type="primary")
with col_d:
st_lottie("https://lottie.host/a0357f2b-b951-4f69-b9e8-35b36e79b386/9B0IQaQ77q.json")
with tab3:
col_e, col_f = st.columns([3, 1])
with col_e:
st.write("The Internet is a very unfair representation of human linguistic diversity. Lost Without Translation is an attempt to make these stark inequalities visible by quantifying and boosting online visibility for all living languages scripted by humans.")
btn3 = st.link_button("Go to Lost Without Translation", url = "https://invisiblelang.streamlit.app/", use_container_width=True, type="primary")
with col_f:
st_lottie("https://lottie.host/3bfd556b-b768-4374-9c7f-06cc18463d6a/tkfyhGMudo.json")
with tab4:
col_i, col_j = st.columns([3, 1])
with col_i:
st.write("Shadowbans investigates how shadow banning contributes to invisible information in online communities. Shadow banning occurs when a user's content is hidden or de-emphasized without their knowledge, often through algorithms or moderation practices. This means users might think their posts are visible, but others can't see them, leading to a form of censorship that isn't immediately apparent. We intend to explore the impact of these practices on information visibility and to shed light on how they shape our digital interactions.")
btn5 = st.button("Go to Shadowbans", use_container_width=True, type="primary")
if btn5:
st.info("🪜 Project web page under development!")
with col_j:
st_lottie("https://lottie.host/a10f69db-0a47-43db-b440-cc5765871d65/JT9bRzFTeZ.json")
with tab5:
col_g, col_h = st.columns([3, 1])
with col_g:
st.write("Almost all of knowledge visible to us is built on communication among humans. Could we make the invisible visible by developing ways to communicate information effectively beyond our species? Beyond Words is attempt to answer these challenging questions.")
btn4 = st.button("Go to Beyond Words", use_container_width=True, type="primary")
if btn4:
st.info("🪜 Project web page under development!")
with col_h:
st_lottie("https://lottie.host/480758a4-5f42-4cec-8d52-04feb1c76366/Plw1GhxvDZ.json")