Spaces:
Build error
Build error
Updated app.py
Browse files
app.py
CHANGED
|
@@ -56,7 +56,7 @@ file = st.file_uploader('Upload an image', type=['jpg', 'jpeg', 'png'])
|
|
| 56 |
if file is not None:
|
| 57 |
img = Image.open(file)
|
| 58 |
st.markdown('<div class="uploaded-image">', unsafe_allow_html=True)
|
| 59 |
-
st.image(img, caption='Uploaded Image',
|
| 60 |
st.markdown('</div>', unsafe_allow_html=True)
|
| 61 |
|
| 62 |
with st.spinner('Processing...'):
|
|
|
|
| 56 |
if file is not None:
|
| 57 |
img = Image.open(file)
|
| 58 |
st.markdown('<div class="uploaded-image">', unsafe_allow_html=True)
|
| 59 |
+
st.image(img, caption='Uploaded Image', use_container_width=True, output_format='PNG')
|
| 60 |
st.markdown('</div>', unsafe_allow_html=True)
|
| 61 |
|
| 62 |
with st.spinner('Processing...'):
|