Update app.py
Browse files
app.py
CHANGED
@@ -20,7 +20,7 @@ def Analysing_image(st, model, image_file):
|
|
20 |
try:
|
21 |
# Open and display the image
|
22 |
image = Image.open(image_file)
|
23 |
-
st.image(image, caption="Uploaded Image", use_container_width=True
|
24 |
|
25 |
# Preprocess the image:
|
26 |
# Ensure it is resized to the input dimensions your model expects (150x150 in this example)
|
|
|
20 |
try:
|
21 |
# Open and display the image
|
22 |
image = Image.open(image_file)
|
23 |
+
st.image(image, caption="Uploaded Image", use_container_width=True)
|
24 |
|
25 |
# Preprocess the image:
|
26 |
# Ensure it is resized to the input dimensions your model expects (150x150 in this example)
|