Synav commited on
Commit
f6b97e1
·
verified ·
1 Parent(s): 1c74aae

Update src/streamlit_app.py

Browse files
Files changed (1) hide show
  1. src/streamlit_app.py +46 -1
src/streamlit_app.py CHANGED
@@ -25,6 +25,37 @@ st.set_page_config(
25
  initial_sidebar_state="expanded",
26
  )
27
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
28
  # Initialize sidebar (model/target/threshold defaults etc.)
29
  sidebar()
30
 
@@ -301,4 +332,18 @@ if submitted:
301
  # Display result
302
  result_df = add_predictions(pd.DataFrame(index=[0]), [pred_prob])
303
  st.subheader("Prediction")
304
- st.dataframe(result_df, use_container_width=False, width=420)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
25
  initial_sidebar_state="expanded",
26
  )
27
 
28
+ st.markdown(
29
+ """
30
+ <div style="text-align:center; margin-bottom:20px;">
31
+ <h2>GVHD-Intel Pro</h2>
32
+ <p style="max-width:900px; margin:0 auto;">
33
+ A modular clinical decision-support framework for predicting
34
+ Acute GVHD, Chronic GVHD, and overall GVHD risk after HSCT
35
+ using machine learning models trained on transplant datasets.
36
+ The platform provides explainability by displaying the top 20
37
+ risk factors contributing to each prediction.
38
+ </p>
39
+ <p style="max-width:900px; margin:8px auto 0 auto;">
40
+ It also supports overall survival (all-cause mortality) risk estimation
41
+ and incorporates structured variables and preprocessing pipelines
42
+ in preparation for time-to-event modeling using Cox Proportional
43
+ Hazards analysis.
44
+ </p>
45
+ <p style="max-width:900px; margin:8px auto 0 auto;">
46
+ Enter recipient and donor details below to generate individualized
47
+ risk predictions.
48
+ </p>
49
+ <p style="max-width:900px; margin:12px auto 0 auto; font-size:14px; color:gray;">
50
+ Research tool only — not validated for clinical use.
51
+ </p>
52
+ </div>
53
+ """,
54
+ unsafe_allow_html=True
55
+ )
56
+
57
+ st.divider()
58
+
59
  # Initialize sidebar (model/target/threshold defaults etc.)
60
  sidebar()
61
 
 
332
  # Display result
333
  result_df = add_predictions(pd.DataFrame(index=[0]), [pred_prob])
334
  st.subheader("Prediction")
335
+ st.dataframe(result_df, use_container_width=False, width=420)
336
+
337
+ st.divider()
338
+
339
+ st.markdown(
340
+ """
341
+ <div style="text-align:center; font-size:14px; color:grey; opacity:0.85; padding-top:20px; line-height:1.5;">
342
+ <br>
343
+ ©2025 Department of Health – Abu Dhabi<br>
344
+ Partnership: SSMC (PureHealth) & MBZUAI<br>
345
+ Data Collaborators: SKMC, Tawam Hospital, KHCC (Jordan)
346
+ </div>
347
+ """,
348
+ unsafe_allow_html=True
349
+ )