Update app.py
Browse files
app.py
CHANGED
@@ -241,11 +241,11 @@ def main():
|
|
241 |
if uploaded_file is not None:
|
242 |
# Load and display the image
|
243 |
image = Image.open(uploaded_file)
|
244 |
-
c1.image(image, width=
|
245 |
|
246 |
elif selected_jpg != 'None':
|
247 |
image = Image.open(selected_jpg)
|
248 |
-
c1.image(image, width=
|
249 |
|
250 |
else:
|
251 |
c1.write("Please upload an image.")
|
|
|
241 |
if uploaded_file is not None:
|
242 |
# Load and display the image
|
243 |
image = Image.open(uploaded_file)
|
244 |
+
c1.image(image, width=450, caption="Uploaded image")
|
245 |
|
246 |
elif selected_jpg != 'None':
|
247 |
image = Image.open(selected_jpg)
|
248 |
+
c1.image(image, width=450, caption="Uploaded image")
|
249 |
|
250 |
else:
|
251 |
c1.write("Please upload an image.")
|