Spaces:
Sleeping
Sleeping
DexterSptizu
commited on
Commit
•
638a59f
1
Parent(s):
7d1a151
Update app.py
Browse files
app.py
CHANGED
@@ -125,7 +125,7 @@ def main():
|
|
125 |
try:
|
126 |
# Display image preview
|
127 |
image = Image.open(original_image)
|
128 |
-
st.image(image, caption="Original Image",
|
129 |
st.caption(f"Original size: {original_image.size/1024/1024:.2f}MB")
|
130 |
except Exception as e:
|
131 |
st.error(f"Error loading image: {str(e)}")
|
|
|
125 |
try:
|
126 |
# Display image preview
|
127 |
image = Image.open(original_image)
|
128 |
+
st.image(image, caption="Original Image", use_container_width=True)
|
129 |
st.caption(f"Original size: {original_image.size/1024/1024:.2f}MB")
|
130 |
except Exception as e:
|
131 |
st.error(f"Error loading image: {str(e)}")
|