Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -555,5 +555,7 @@ else:
|
|
| 555 |
cols = st.columns(4)
|
| 556 |
for i, img_path in enumerate(st.session_state.contents):
|
| 557 |
with cols[i % 4]:
|
| 558 |
-
|
|
|
|
|
|
|
| 559 |
|
|
|
|
| 555 |
cols = st.columns(4)
|
| 556 |
for i, img_path in enumerate(st.session_state.contents):
|
| 557 |
with cols[i % 4]:
|
| 558 |
+
# use_column_width=True를 use_container_width=True로 변경
|
| 559 |
+
st.image(img_path, caption=os.path.basename(img_path), use_container_width=True)
|
| 560 |
+
|
| 561 |
|