Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -34,7 +34,7 @@ uploaded_file = st.file_uploader("Upload an image", type=["jpg", "png", "jpeg"])
|
|
34 |
|
35 |
if uploaded_file:
|
36 |
# Display the uploaded image with specified width
|
37 |
-
image_width =
|
38 |
with st.expander("Image", expanded=True):
|
39 |
st.sidebar.image(uploaded_file, caption=uploaded_file.name, width=image_width, use_column_width=False)
|
40 |
|
|
|
34 |
|
35 |
if uploaded_file:
|
36 |
# Display the uploaded image with specified width
|
37 |
+
image_width = 200 # Set the desired width in pixels
|
38 |
with st.expander("Image", expanded=True):
|
39 |
st.sidebar.image(uploaded_file, caption=uploaded_file.name, width=image_width, use_column_width=False)
|
40 |
|