Synav commited on
Commit
eaa285b
·
verified ·
1 Parent(s): 49ab2e1

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("👤 Enter_Patient_Data_for_Risk_Prediction")
116
- st.caption("Enter patient + donor + transplant details to get predicted risk with the selected model.")
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