Update app.py
Browse files
app.py
CHANGED
|
@@ -28,7 +28,7 @@ def main():
|
|
| 28 |
|
| 29 |
uploaded_image = st.file_uploader("Upload an image", type=["jpg", "jpeg", "png"])
|
| 30 |
|
| 31 |
-
if
|
| 32 |
|
| 33 |
st.image(uploaded_image, caption="Uploaded Image", use_column_width=True)
|
| 34 |
|
|
|
|
| 28 |
|
| 29 |
uploaded_image = st.file_uploader("Upload an image", type=["jpg", "jpeg", "png"])
|
| 30 |
|
| 31 |
+
if uploaded_image is not None:
|
| 32 |
|
| 33 |
st.image(uploaded_image, caption="Uploaded Image", use_column_width=True)
|
| 34 |
|