Update app.py
Browse files
app.py
CHANGED
|
@@ -32,7 +32,8 @@ uploaded_file = st.file_uploader("Choose an image...", type=["jpg", "jpeg", "png
|
|
| 32 |
if uploaded_file is not None:
|
| 33 |
|
| 34 |
img = Image.open(uploaded_file)
|
| 35 |
-
|
|
|
|
| 36 |
|
| 37 |
|
| 38 |
if st.button('Classify'):
|
|
|
|
| 32 |
if uploaded_file is not None:
|
| 33 |
|
| 34 |
img = Image.open(uploaded_file)
|
| 35 |
+
img_resized = img.resize((300, 300))
|
| 36 |
+
st.image(img_resized, caption="Uploaded Image.", use_container_width=True)
|
| 37 |
|
| 38 |
|
| 39 |
if st.button('Classify'):
|