Spaces:
Running
Running
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๊ฐ์ ์ด ์์ฑ
|