Paras Shah commited on
Commit
35b6890
·
1 Parent(s): ba3a615

Use non-deprecated parameter for image

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -70,7 +70,7 @@ st.sidebar.markdown(
70
  unsafe_allow_html=True,
71
  )
72
 
73
- st.image("static/header.png", use_column_width=True)
74
  uploaded_file = st.file_uploader(
75
  label="Upload Point Cloud Data",
76
  type=['laz', 'las', 'pcd'],
@@ -79,7 +79,7 @@ uploaded_file = st.file_uploader(
79
 
80
  col1, col2 = st.columns(2)
81
  with col1:
82
- st.image("static/canopy.png", use_column_width=True)
83
  with col2:
84
  CANOPY_VOLUME = st.slider(
85
  label="Canopy Volume in % (Z)",
@@ -105,7 +105,7 @@ with col2:
105
 
106
  col1, col2 = st.columns(2)
107
  with col1:
108
- st.image("static/dbh.png", use_column_width=True)
109
  with col2:
110
  DBH_HEIGHT = st.slider(
111
  label="DBH (Diameter above Breast Height, in metres) (H)",
 
70
  unsafe_allow_html=True,
71
  )
72
 
73
+ st.image("static/header.png", use_container_width=True)
74
  uploaded_file = st.file_uploader(
75
  label="Upload Point Cloud Data",
76
  type=['laz', 'las', 'pcd'],
 
79
 
80
  col1, col2 = st.columns(2)
81
  with col1:
82
+ st.image("static/canopy.png", use_container_width=True)
83
  with col2:
84
  CANOPY_VOLUME = st.slider(
85
  label="Canopy Volume in % (Z)",
 
105
 
106
  col1, col2 = st.columns(2)
107
  with col1:
108
+ st.image("static/dbh.png", use_container_width=True)
109
  with col2:
110
  DBH_HEIGHT = st.slider(
111
  label="DBH (Diameter above Breast Height, in metres) (H)",