DasariHarshitha commited on
Commit
0eea862
·
verified ·
1 Parent(s): 37863c5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -17,7 +17,7 @@ uploaded_file = st.file_uploader("Choose an image...", type=["jpg", "jpeg", "png
17
  if uploaded_file is not None:
18
  # Show uploaded image
19
  img = Image.open(uploaded_file)
20
- st.image(img, caption="Uploaded Image", use_column_width=True)
21
 
22
  # Preprocess image
23
  img = img.resize((200, 200))
 
17
  if uploaded_file is not None:
18
  # Show uploaded image
19
  img = Image.open(uploaded_file)
20
+ st.image(img, caption="Uploaded Image", width=200)
21
 
22
  # Preprocess image
23
  img = img.resize((200, 200))