Spaces:
Sleeping
Sleeping
Rename src/Clinical_Risk_Assessment_Tool.py to src/streamlit_app.py
Browse files
src/{Clinical_Risk_Assessment_Tool.py → streamlit_app.py}
RENAMED
|
@@ -25,6 +25,16 @@ st.set_page_config(
|
|
| 25 |
initial_sidebar_state="expanded",
|
| 26 |
)
|
| 27 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 28 |
# ---------- App Header ----------
|
| 29 |
|
| 30 |
st.markdown(
|
|
@@ -112,8 +122,8 @@ def hla_block(person: str, key_prefix: str, enabled: bool):
|
|
| 112 |
# Initialize sidebar (model/target/threshold defaults etc.)
|
| 113 |
sidebar()
|
| 114 |
|
| 115 |
-
st.title("👤
|
| 116 |
-
st.caption("Enter
|
| 117 |
|
| 118 |
|
| 119 |
# Ensure this exists so add_predictions() can join safely
|
|
|
|
| 25 |
initial_sidebar_state="expanded",
|
| 26 |
)
|
| 27 |
|
| 28 |
+
|
| 29 |
+
st.markdown(
|
| 30 |
+
"""
|
| 31 |
+
<style>
|
| 32 |
+
/* Hide the first page in the sidebar navigation (this is typically the main app.py page) */
|
| 33 |
+
[data-testid="stSidebarNav"] ul li:first-child {display: none;}
|
| 34 |
+
</style>
|
| 35 |
+
""",
|
| 36 |
+
unsafe_allow_html=True
|
| 37 |
+
)
|
| 38 |
# ---------- App Header ----------
|
| 39 |
|
| 40 |
st.markdown(
|
|
|
|
| 122 |
# Initialize sidebar (model/target/threshold defaults etc.)
|
| 123 |
sidebar()
|
| 124 |
|
| 125 |
+
st.title("👤 Individual Patient Risk Prediction")
|
| 126 |
+
st.caption(""Enter recipient, donor, and transplant variables including HLA alleles to generate individualized risk estimates"")
|
| 127 |
|
| 128 |
|
| 129 |
# Ensure this exists so add_predictions() can join safely
|