Yashvj123 commited on
Commit
64bb241
·
verified ·
1 Parent(s): ae2f1cf

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +11 -7
app.py CHANGED
@@ -101,6 +101,17 @@ if st.session_state.current_page == "Model Report":
101
  # Individual Sections
102
  elif st.session_state.current_page == "Problem Statement":
103
  st.markdown("<h1 class='title'>Problem Statement</h1>", unsafe_allow_html=True)
 
 
 
 
 
 
 
 
 
 
 
104
 
105
  st.markdown("<h2 class='subtitle'>Predicting Life Expectancy</h2>", unsafe_allow_html=True)
106
  st.markdown("""
@@ -112,13 +123,6 @@ elif st.session_state.current_page == "Problem Statement":
112
  </p>
113
  """, unsafe_allow_html=True)
114
 
115
- st.markdown("""
116
- <h2 class='subtitle'>Problem Statement</h2>
117
- <p class='content'>
118
- The goal of this project is to build a predictive model that estimates the <b>Life Expectancy</b> of a country
119
- based on multiple influencing factors such as health indicators, economic conditions, and social parameters.
120
- </p>
121
- """, unsafe_allow_html=True)
122
 
123
  if st.button("🔙 Go Back to Model Report"):
124
  switch_page("Model Report")
 
101
  # Individual Sections
102
  elif st.session_state.current_page == "Problem Statement":
103
  st.markdown("<h1 class='title'>Problem Statement</h1>", unsafe_allow_html=True)
104
+
105
+ st.markdown("""
106
+ <p class='content'>
107
+ The goal of this project is to build a predictive model that estimates the <b>Life Expectancy</b> of a country
108
+ based on multiple influencing factors such as health indicators, economic conditions, and social parameters.
109
+ </p>
110
+ """, unsafe_allow_html=True)
111
+
112
+ st.image("images/problem_statement.png",
113
+ caption="Life Expectancy Prediction Overview",
114
+ use_container_width=True)
115
 
116
  st.markdown("<h2 class='subtitle'>Predicting Life Expectancy</h2>", unsafe_allow_html=True)
117
  st.markdown("""
 
123
  </p>
124
  """, unsafe_allow_html=True)
125
 
 
 
 
 
 
 
 
126
 
127
  if st.button("🔙 Go Back to Model Report"):
128
  switch_page("Model Report")