Spaces:
Sleeping
Sleeping
Update app/building_information.py
Browse files
app/building_information.py
CHANGED
@@ -296,21 +296,19 @@ def display_orientation_diagram():
|
|
296 |
|
297 |
with col1:
|
298 |
st.markdown(
|
299 |
-
'<div style="display: flex; justify-content: center; align-items: center; width: 100%; text-align: center;">'
|
300 |
-
'<img src="images/orientation1.jpg" style="margin: 0 auto; display: block;" width="300">'
|
301 |
-
'</div>',
|
302 |
unsafe_allow_html=True
|
303 |
)
|
304 |
-
st.
|
|
|
305 |
|
306 |
with col2:
|
307 |
st.markdown(
|
308 |
-
'<div style="display: flex; justify-content: center; align-items: center; width: 100%; text-align: center;">'
|
309 |
-
'<img src="images/orientation2.jpg" style="margin: 0 auto; display: block;" width="300">'
|
310 |
-
'</div>',
|
311 |
unsafe_allow_html=True
|
312 |
)
|
313 |
-
st.
|
|
|
314 |
|
315 |
def calculate_volume(floor_area: float, height: float) -> float:
|
316 |
"""
|
|
|
296 |
|
297 |
with col1:
|
298 |
st.markdown(
|
299 |
+
'<div style="display: flex; justify-content: center; align-items: center; width: 100%; text-align: center; margin: 0 auto;">',
|
|
|
|
|
300 |
unsafe_allow_html=True
|
301 |
)
|
302 |
+
st.image("images/orientation1.jpg", caption="Building Orientation Angle = 0", width=300, use_column_width=False, output_format="auto")
|
303 |
+
st.markdown('</div>', unsafe_allow_html=True)
|
304 |
|
305 |
with col2:
|
306 |
st.markdown(
|
307 |
+
'<div style="display: flex; justify-content: center; align-items: center; width: 100%; text-align: center; margin: 0 auto;">',
|
|
|
|
|
308 |
unsafe_allow_html=True
|
309 |
)
|
310 |
+
st.image("images/orientation2.jpg", caption="Building Orientation Angle = 45", width=300, use_column_width=False, output_format="auto")
|
311 |
+
st.markdown('</div>', unsafe_allow_html=True)
|
312 |
|
313 |
def calculate_volume(floor_area: float, height: float) -> float:
|
314 |
"""
|