mabuseif commited on
Commit
0ace167
·
verified ·
1 Parent(s): 5bbefd3

Update app/building_information.py

Browse files
Files changed (1) hide show
  1. app/building_information.py +12 -2
app/building_information.py CHANGED
@@ -297,10 +297,20 @@ def display_orientation_diagram():
297
  col1, col2 = st.columns(2)
298
 
299
  with col1:
300
- st.image("images/orientation1.jpg", caption="Building Orientation Diagram 1", use_column_width=True)
 
 
 
 
 
301
 
302
  with col2:
303
- st.image("images/orientation2.jpg", caption="Building Orientation Diagram 2", use_column_width=True)
 
 
 
 
 
304
 
305
  def calculate_volume(floor_area: float, height: float) -> float:
306
  """
 
297
  col1, col2 = st.columns(2)
298
 
299
  with col1:
300
+ st.markdown(
301
+ '<div style="display: flex; justify-content: center;">',
302
+ unsafe_allow_html=True
303
+ )
304
+ st.image("images/orientation.jpg", caption="Building Orientation Diagram 1", width=400)
305
+ st.markdown('</div>', unsafe_allow_html=True)
306
 
307
  with col2:
308
+ st.markdown(
309
+ '<div style="display: flex; justify-content: center;">',
310
+ unsafe_allow_html=True
311
+ )
312
+ st.image("images/orientation1.jpg", caption="Building Orientation Diagram 2", width=400)
313
+ st.markdown('</div>', unsafe_allow_html=True)
314
 
315
  def calculate_volume(floor_area: float, height: float) -> float:
316
  """