ProfessorLeVesseur commited on
Commit
99e69db
·
verified ·
1 Parent(s): 02fb06a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -24,7 +24,7 @@ uploaded_file = st.file_uploader("Upload an image", type=["jpg", "png", "jpeg"])
24
 
25
  if uploaded_file:
26
  # Display the uploaded image with specified width
27
- image_width = 300 # Set the desired width in pixels
28
  with st.expander("Image", expanded=True):
29
  st.image(uploaded_file, caption=uploaded_file.name, width=image_width, use_column_width=False)
30
 
 
24
 
25
  if uploaded_file:
26
  # Display the uploaded image with specified width
27
+ image_width = 150 # Set the desired width in pixels
28
  with st.expander("Image", expanded=True):
29
  st.image(uploaded_file, caption=uploaded_file.name, width=image_width, use_column_width=False)
30