mabuseif commited on
Commit
e38ed78
·
verified ·
1 Parent(s): dcf945e

Update app/building_information.py

Browse files
Files changed (1) hide show
  1. app/building_information.py +4 -4
app/building_information.py CHANGED
@@ -296,18 +296,18 @@ def display_orientation_diagram():
296
 
297
  with col1:
298
  st.markdown(
299
- '<div style="display: flex; justify-content: center; align-items: center; width: 100%;">',
300
  unsafe_allow_html=True
301
  )
302
- st.image("images/orientation1.jpg", caption="Building Orientation Angle = 0", width=300, use_column_width=False)
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%;">',
308
  unsafe_allow_html=True
309
  )
310
- st.image("images/orientation2.jpg", caption="Building Orientation Angle = 45", width=300, use_column_width=False)
311
  st.markdown('</div>', unsafe_allow_html=True)
312
 
313
  def calculate_volume(floor_area: float, height: float) -> float:
 
296
 
297
  with col1:
298
  st.markdown(
299
+ '<div style="display: flex; justify-content: center; align-items: center; width: 100%; text-align: center;">',
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;">',
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: