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

Update app/building_information.py

Browse files
Files changed (1) hide show
  1. app/building_information.py +8 -6
app/building_information.py CHANGED
@@ -296,19 +296,21 @@ 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
  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:
314
  """
 
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.caption("Building Orientation Angle = 0")
 
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.caption("Building Orientation Angle = 45")
 
314
 
315
  def calculate_volume(floor_area: float, height: float) -> float:
316
  """