Update app.py
Browse files
app.py
CHANGED
|
@@ -10,18 +10,6 @@ st.markdown(
|
|
| 10 |
align-items: center;
|
| 11 |
text-align: center;
|
| 12 |
}
|
| 13 |
-
div[data-testid="stButton"] > button {
|
| 14 |
-
background: none;
|
| 15 |
-
color: #3366cc;
|
| 16 |
-
border: none;
|
| 17 |
-
padding: 0;
|
| 18 |
-
font-size: 20px;
|
| 19 |
-
text-decoration: underline;
|
| 20 |
-
cursor: pointer;
|
| 21 |
-
}
|
| 22 |
-
div[data-testid="stButton"] {
|
| 23 |
-
display: inline;
|
| 24 |
-
}
|
| 25 |
</style>
|
| 26 |
""",
|
| 27 |
unsafe_allow_html=True
|
|
@@ -69,18 +57,23 @@ if st.session_state.page == "landing":
|
|
| 69 |
# -----------------------------
|
| 70 |
elif st.session_state.page == "main":
|
| 71 |
st.markdown("<div class='center-container'>", unsafe_allow_html=True)
|
| 72 |
-
|
| 73 |
-
|
| 74 |
-
|
| 75 |
-
|
| 76 |
-
|
| 77 |
-
st.
|
| 78 |
-
|
| 79 |
-
|
| 80 |
-
|
| 81 |
-
|
| 82 |
-
|
| 83 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 84 |
|
| 85 |
st.markdown("</div>", unsafe_allow_html=True)
|
| 86 |
|
|
|
|
| 10 |
align-items: center;
|
| 11 |
text-align: center;
|
| 12 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 13 |
</style>
|
| 14 |
""",
|
| 15 |
unsafe_allow_html=True
|
|
|
|
| 57 |
# -----------------------------
|
| 58 |
elif st.session_state.page == "main":
|
| 59 |
st.markdown("<div class='center-container'>", unsafe_allow_html=True)
|
| 60 |
+
|
| 61 |
+
st.markdown(
|
| 62 |
+
"<div style='font-size:24px; color:#3366cc; font-weight:bold;'>Explore the concepts:</div>",
|
| 63 |
+
unsafe_allow_html=True
|
| 64 |
+
)
|
| 65 |
+
st.write("")
|
| 66 |
+
|
| 67 |
+
sentences = [
|
| 68 |
+
"Multiplicity: Many models, same accuracy, different predictions.",
|
| 69 |
+
"ICA Framework: Intentional, Conventional, and Arbitrary decisions.",
|
| 70 |
+
"Arbitrariness: Why different models might treat individuals differently.",
|
| 71 |
+
"Homogenization: Why similar decisions happen across many developers."
|
| 72 |
+
]
|
| 73 |
+
|
| 74 |
+
for i, sentence in enumerate(sentences):
|
| 75 |
+
if st.button(sentence, key=f"sentence_{i}"):
|
| 76 |
+
go_to(f"sentence_{i}")
|
| 77 |
|
| 78 |
st.markdown("</div>", unsafe_allow_html=True)
|
| 79 |
|