mabuseif commited on
Commit
be70b16
·
verified ·
1 Parent(s): 393568b

Update app/building_information.py

Browse files
Files changed (1) hide show
  1. app/building_information.py +4 -15
app/building_information.py CHANGED
@@ -291,24 +291,13 @@ def display_building_info_help():
291
  """)
292
 
293
  def display_orientation_diagram():
294
- """Display orientation images showing building orientation."""
295
  col1, col2 = st.columns(2)
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
  """
 
291
  """)
292
 
293
  def display_orientation_diagram():
 
294
  col1, col2 = st.columns(2)
295
+
296
  with col1:
297
+ st.image("images/orientation1.jpg", caption="Building Orientation Angle = 0", use_column_width="auto")
298
+
 
 
 
 
 
299
  with col2:
300
+ st.image("images/orientation2.jpg", caption="Building Orientation Angle = 45", use_column_width="auto")
 
 
 
 
 
301
 
302
  def calculate_volume(floor_area: float, height: float) -> float:
303
  """