Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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 =
|
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 |
|