Spaces:
Sleeping
Sleeping
Update src/streamlit_app.py
Browse files- src/streamlit_app.py +1 -1
src/streamlit_app.py
CHANGED
|
@@ -392,7 +392,7 @@ def main():
|
|
| 392 |
image = Image.open(BytesIO(image_content))
|
| 393 |
|
| 394 |
with preview_cols[i % 4]:
|
| 395 |
-
st.image(image, caption=filename,
|
| 396 |
except:
|
| 397 |
# If image can't be displayed, show filename only
|
| 398 |
with preview_cols[i % 4]:
|
|
|
|
| 392 |
image = Image.open(BytesIO(image_content))
|
| 393 |
|
| 394 |
with preview_cols[i % 4]:
|
| 395 |
+
st.image(image, caption=filename, use_container_width=True)
|
| 396 |
except:
|
| 397 |
# If image can't be displayed, show filename only
|
| 398 |
with preview_cols[i % 4]:
|