Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -59,7 +59,7 @@ if uploaded_file is not None:
|
|
| 59 |
# Display the uploaded image
|
| 60 |
image = Image.open(uploaded_file).convert("RGB")
|
| 61 |
resized_image = image.resize((IMG_WIDTH, IMG_HEIGHT))
|
| 62 |
-
st.image(image, caption="Uploaded Image",
|
| 63 |
|
| 64 |
# Predict the class
|
| 65 |
with st.spinner("Predicting..."):
|
|
|
|
| 59 |
# Display the uploaded image
|
| 60 |
image = Image.open(uploaded_file).convert("RGB")
|
| 61 |
resized_image = image.resize((IMG_WIDTH, IMG_HEIGHT))
|
| 62 |
+
st.image(image, caption="Uploaded Image", use_container_width=True)
|
| 63 |
|
| 64 |
# Predict the class
|
| 65 |
with st.spinner("Predicting..."):
|