fadzwan commited on
Commit
3aca181
1 Parent(s): 2b337bb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +30 -16
app.py CHANGED
@@ -77,21 +77,7 @@ def main():
77
  st.set_page_config(page_title="Concrete Slump Strength Prediction")
78
  st.title("Concrete Slump Strength Prediction")
79
 
80
- st.write("""
81
- Concrete slump strength prediction is an important topic that can have implications for several Sustainable Development Goals (SDGs) set by the United Nations.
82
- """)
83
-
84
- st.subheader("SDG 9: Industry, Innovation, and Infrastructure")
85
- st.write("""
86
- - Accurate prediction of concrete slump strength can help in the design and construction of more robust and resilient infrastructure, such as buildings, bridges, and roads. This supports the goal of building sustainable and resilient infrastructure.
87
- - Improved concrete strength prediction can lead to more efficient use of materials and resources, reducing waste and promoting sustainable construction practices.
88
- """)
89
-
90
- st.subheader("SDG 11: Sustainable Cities and Communities")
91
- st.write("""
92
- - Reliable concrete slump strength prediction can contribute to the development of sustainable and resilient cities. Robust infrastructure built with high-quality concrete can withstand natural disasters and environmental stresses, enhancing the livability and sustainability of urban areas.
93
- - Accurate slump strength prediction can also help in the planning and construction of affordable and accessible housing, which is a key component of sustainable cities.
94
- """)
95
 
96
  st.write("Enter the concrete mix parameters to predict the slump.")
97
 
@@ -135,5 +121,33 @@ def main():
135
  print('slump_prediction',slump_prediction)
136
  st.write(f"Predicted Slump Strength: {slump_prediction:.2f} MPA")
137
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
138
  if __name__ == '__main__':
139
- main()
 
 
 
 
 
 
 
 
77
  st.set_page_config(page_title="Concrete Slump Strength Prediction")
78
  st.title("Concrete Slump Strength Prediction")
79
 
80
+
 
 
 
 
 
 
 
 
 
 
 
 
 
 
81
 
82
  st.write("Enter the concrete mix parameters to predict the slump.")
83
 
 
121
  print('slump_prediction',slump_prediction)
122
  st.write(f"Predicted Slump Strength: {slump_prediction:.2f} MPA")
123
 
124
+
125
+ st.title("Concrete Slump Strength Prediction and Sustainable Development Goals")
126
+
127
+ st.write("""Concrete slump strength prediction is an important topic that can have implications for several Sustainable Development Goals (SDGs) set by the United Nations.""")
128
+
129
+ col1, col2 = st.columns(2)
130
+
131
+ with col1:
132
+ st.subheader("SDG 9: Industry, Innovation, and Infrastructure")
133
+ st.markdown("""
134
+ - Accurate prediction of concrete slump strength can help in the design and construction of more robust and resilient infrastructure.
135
+ - Improved concrete strength prediction can lead to more efficient use of materials and resources, reducing waste and promoting sustainable construction practices.
136
+ """)
137
+
138
+ with col2:
139
+ st.subheader("SDG 11: Sustainable Cities and Communities")
140
+ st.markdown("""
141
+ - Reliable concrete slump strength prediction can contribute to the development of sustainable and resilient cities.
142
+ - Accurate slump strength prediction can help in the planning and construction of affordable and accessible housing.
143
+ """)
144
+
145
  if __name__ == '__main__':
146
+ main()
147
+
148
+
149
+
150
+ import streamlit as st
151
+
152
+
153
+