Spaces:
Sleeping
Sleeping
shaheer-data
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -42,7 +42,7 @@ st.markdown('<p style="text-align: center; color: #2F4F4F; font-size: 30px; font
|
|
42 |
# Display the uploaded image
|
43 |
if uploaded_file is not None:
|
44 |
image = Image.open(uploaded_file)
|
45 |
-
st.
|
46 |
|
47 |
# Preprocess the image
|
48 |
processed_image = preprocess_image(image)
|
|
|
42 |
# Display the uploaded image
|
43 |
if uploaded_file is not None:
|
44 |
image = Image.open(uploaded_file)
|
45 |
+
st.sidebar.image(image, caption="Uploaded Wheat Leaf", use_container_width=True)
|
46 |
|
47 |
# Preprocess the image
|
48 |
processed_image = preprocess_image(image)
|