Update app.py
Browse files
app.py
CHANGED
@@ -28,6 +28,7 @@ st.markdown(
|
|
28 |
.stRadio div,
|
29 |
.custom-caption-1,
|
30 |
.custom-caption-2,
|
|
|
31 |
.button-container,
|
32 |
.stButton button,
|
33 |
.survey,
|
@@ -65,6 +66,13 @@ st.markdown(
|
|
65 |
margin-top: 10px;
|
66 |
padding: 0 0 30px 0;
|
67 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
68 |
.button-container {
|
69 |
text-align: center;
|
70 |
margin-top: 30px;
|
@@ -127,6 +135,10 @@ st.markdown(
|
|
127 |
font-size: 24px;
|
128 |
padding: 0 0 20px 0;
|
129 |
}
|
|
|
|
|
|
|
|
|
130 |
.stButton button {
|
131 |
width: 100%;
|
132 |
font-size: 18px;
|
@@ -212,16 +224,16 @@ if uploaded_file is not None:
|
|
212 |
processed_image = change_hair_to_blonde(image)
|
213 |
st.image(processed_image, use_column_width=True)
|
214 |
st.markdown('<div class="custom-caption-2">์๋ณธ ์ด๋ฏธ์ง๋ก ๋ฅํ์ดํฌ๋ฅผ ์ ์ํ ๊ฒฝ์ฐ</div>', unsafe_allow_html=True)
|
215 |
-
st.markdown("<
|
216 |
|
217 |
with col2:
|
218 |
deepfake_image = add_noise(image)
|
219 |
st.image(deepfake_image, use_column_width=True)
|
220 |
st.markdown('<div class="custom-caption-2">๋ฐฉ์ง ํํฐ ์ด๋ฏธ์ง๋ก ๋ฅํ์ดํฌ๋ฅผ ์ ์ํ ๊ฒฝ์ฐ</div>', unsafe_allow_html=True)
|
221 |
-
st.markdown("<
|
222 |
|
223 |
-
|
224 |
-
|
225 |
-
|
226 |
|
227 |
|
|
|
28 |
.stRadio div,
|
29 |
.custom-caption-1,
|
30 |
.custom-caption-2,
|
31 |
+
.custom-caption-3,
|
32 |
.button-container,
|
33 |
.stButton button,
|
34 |
.survey,
|
|
|
66 |
margin-top: 10px;
|
67 |
padding: 0 0 30px 0;
|
68 |
}
|
69 |
+
.custom-caption-3 {
|
70 |
+
font-size: 30px;
|
71 |
+
# font-weight: bold;
|
72 |
+
text-align: center;
|
73 |
+
margin-top: 10px;
|
74 |
+
padding: 0 0 30px 0;
|
75 |
+
}
|
76 |
.button-container {
|
77 |
text-align: center;
|
78 |
margin-top: 30px;
|
|
|
135 |
font-size: 24px;
|
136 |
padding: 0 0 20px 0;
|
137 |
}
|
138 |
+
.custom-caption-3 {
|
139 |
+
font-size: 20px;
|
140 |
+
padding: 0 0 20px 0;
|
141 |
+
}
|
142 |
.stButton button {
|
143 |
width: 100%;
|
144 |
font-size: 18px;
|
|
|
224 |
processed_image = change_hair_to_blonde(image)
|
225 |
st.image(processed_image, use_column_width=True)
|
226 |
st.markdown('<div class="custom-caption-2">์๋ณธ ์ด๋ฏธ์ง๋ก ๋ฅํ์ดํฌ๋ฅผ ์ ์ํ ๊ฒฝ์ฐ</div>', unsafe_allow_html=True)
|
227 |
+
st.markdown("<div class="custom-caption-3">์ดํด๋ฅผ ๋๊ธฐ ์ํด ์ฌ์ง์ ๋
ธ๋์์ ์
ํ๋ ๋ฅํ์ดํฌ ์๊ณ ๋ฆฌ์ฆ ์ ์ฉ. ์๋ณธ ์ด๋ฏธ์ง๋ ๋ฅํ์ดํฌ ์๊ณ ๋ฆฌ์ฆ์ ์ํฅ์ ๋ฐ์.</div>", unsafe_allow_html=True)
|
228 |
|
229 |
with col2:
|
230 |
deepfake_image = add_noise(image)
|
231 |
st.image(deepfake_image, use_column_width=True)
|
232 |
st.markdown('<div class="custom-caption-2">๋ฐฉ์ง ํํฐ ์ด๋ฏธ์ง๋ก ๋ฅํ์ดํฌ๋ฅผ ์ ์ํ ๊ฒฝ์ฐ</div>', unsafe_allow_html=True)
|
233 |
+
st.markdown("<div class="custom-caption-3">์ฌ์ ๋ฐฉ์ง ํํฐ๋ฅผ ์
ํ ์ด๋ฏธ์ง๋ ๋ฅํ์ดํฌ ์๊ณ ๋ฆฌ์ฆ์ ์ํฅ์ ๋ฐ์ง ์๊ณ ๋
ธ์ด์ฆ ์ฒ๋ฆฌ๊ฐ ๋์ด ์์๋ณด๊ธฐ ํ๋ ์ฌ์ง์ ์ถ๋ ฅ. ์ฆ, ๋ฅํ์ดํฌ ์ฌ์ง ํฉ์ฑ์ ๋ฐฉํดํจ.</div>", unsafe_allow_html=True)
|
234 |
|
235 |
+
st.markdown('<p class="survey">์ ์๋น์ค๋ฅผ ์ฌ์ฉํด ๋ณด์
จ๊ฑฐ๋, ์ ํฌ ๊ธฐ์ ์ ์๋ฆฌ์ ๊ด์ฌ์ด ์์ผ์ ๋ถ๋ค๊ป์ ์๋์ ๊ฐ๋จํ ์ธํฐ๋ทฐ์ ์ฐธ์ฌํด ์ฃผ์๋ฉด ์ง์ฌ์ผ๋ก ๊ฐ์ฌ๋๋ฆฌ๊ฒ ์ต๋๋ค.</p>', unsafe_allow_html=True)
|
236 |
+
st.markdown('<p class="survey-1"><a href="https://docs.google.com/forms/d/e/1FAIpQLSdzRtuvQyp3CQDhlxEag40v2yDM7u9NYpJ2gv5kgwuNbo1gUA/viewform?usp=sf_link" target="_blank" class="a-tag">์ฌ๊ธฐ๋ฅผ ํด๋ฆญํ์ฌ ์ธํฐ๋ทฐ์ ์ํด ์ฃผ์ ๋ค๋ฉด ํฐ ๋์์ด ๋ ๊ฒ ๊ฐ์ต๋๋ค!!</a></p>', unsafe_allow_html=True)
|
237 |
+
st.markdown('<p class="survey-2">์๋น์ค๋ฅผ ์ด์ฉํด ์ฃผ์
์ ๊ฐ์ฌํฉ๋๋ค! ์ข์ ํ๋ฃจ ๋ณด๋ด์ธ์!</p>', unsafe_allow_html=True)
|
238 |
|
239 |
|