Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -198,6 +198,13 @@ if selected_menu == "Home":
|
|
198 |
"Image Compositing"
|
199 |
]
|
200 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
201 |
# 이미지들을 한 줄에 4장씩 배치
|
202 |
for i in range(0, len(image_files), 3):
|
203 |
cols = st.columns(3) # 4개의 열 생성
|
|
|
198 |
"Image Compositing"
|
199 |
]
|
200 |
|
201 |
+
for i, col in enumerate(cols):
|
202 |
+
if i < len(image_files):
|
203 |
+
col.image(image_files[i], use_column_width=True)
|
204 |
+
# Markdown을 사용하여 이미지 아래에 굵은 텍스트 추가
|
205 |
+
col.markdown(f"<div style='text-align: center; font-weight: bold; font-size: 20px;'>{image_texts[i]}</div>", unsafe_allow_html=True)
|
206 |
+
|
207 |
+
|
208 |
# 이미지들을 한 줄에 4장씩 배치
|
209 |
for i in range(0, len(image_files), 3):
|
210 |
cols = st.columns(3) # 4개의 열 생성
|