Justin Zhang commited on
Commit
6e9c74b
·
1 Parent(s): 2e65a28

Remove embedded static notebook from app for public sharing

Browse files
Files changed (1) hide show
  1. dashboard/app.py +0 -9
dashboard/app.py CHANGED
@@ -33,15 +33,6 @@ filtered_df = df[df['cancer_type'].isin(selected_cancer)]
33
  st.subheader("Patient Demographics")
34
  st.dataframe(filtered_df[['patient_id', 'age', 'gender', 'cancer_type', 'stage']])
35
 
36
- # Optional: Display static notebook HTML in the app
37
- st.markdown("---")
38
- st.header("📓 Data Exploration Notebook (Static View)")
39
- try:
40
- with open("notebooks/01_data_exploration.html", "r", encoding="utf-8") as f:
41
- html_content = f.read()
42
- st.components.v1.html(html_content, height=800, scrolling=True)
43
- except Exception as e:
44
- st.info("Static notebook preview not available.")
45
 
46
  st.subheader("Cancer Type Distribution")
47
  fig1 = px.histogram(filtered_df, x="cancer_type", color="gender", barmode="group", title="Cancer Type by Gender")
 
33
  st.subheader("Patient Demographics")
34
  st.dataframe(filtered_df[['patient_id', 'age', 'gender', 'cancer_type', 'stage']])
35
 
 
 
 
 
 
 
 
 
 
36
 
37
  st.subheader("Cancer Type Distribution")
38
  fig1 = px.histogram(filtered_df, x="cancer_type", color="gender", barmode="group", title="Cancer Type by Gender")