Spaces:
Sleeping
Sleeping
Update src/app.py
Browse files- src/app.py +16 -3
src/app.py
CHANGED
@@ -118,10 +118,21 @@ def on_change_bbox(prompts: dict[str, Any] | None):
|
|
118 |
|
119 |
css = '''
|
120 |
.gradio-container {
|
121 |
-
max-width:
|
122 |
margin: auto;
|
123 |
}
|
124 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
125 |
h1 {
|
126 |
text-align: center;
|
127 |
font-family: 'Pretendard', sans-serif;
|
@@ -174,7 +185,7 @@ h1 {
|
|
174 |
|
175 |
.visit-button {
|
176 |
background-color: #EA580C;
|
177 |
-
color: white;
|
178 |
padding: 12px 24px;
|
179 |
border-radius: 8px;
|
180 |
font-weight: 600;
|
@@ -183,12 +194,14 @@ h1 {
|
|
183 |
transition: all 0.3s;
|
184 |
margin-top: 1rem;
|
185 |
box-shadow: 0 2px 4px rgba(234, 88, 12, 0.2);
|
|
|
186 |
}
|
187 |
|
188 |
.visit-button:hover {
|
189 |
background-color: #C2410C;
|
190 |
transform: translateY(-2px);
|
191 |
box-shadow: 0 4px 6px rgba(234, 88, 12, 0.25);
|
|
|
192 |
}
|
193 |
|
194 |
.container-wrapper {
|
@@ -292,7 +305,7 @@ with gr.Blocks(
|
|
292 |
"""
|
293 |
<div class='footer-content'>
|
294 |
<p style='font-size: 1.1rem; font-weight: 500; color: #1F2937;'>끝장AI가 제공하는 고급 AI 도구를 더 경험하고 싶으신가요?</p>
|
295 |
-
<a href='https://finalendai.com' target='_blank' class='visit-button'>
|
296 |
끝장AI 방문하기
|
297 |
</a>
|
298 |
<p style='margin-top: 1.5rem; color: #6B7280; font-size: 0.9rem;'>
|
|
|
118 |
|
119 |
css = '''
|
120 |
.gradio-container {
|
121 |
+
max-width: 1400px !important;
|
122 |
margin: auto;
|
123 |
}
|
124 |
|
125 |
+
/* 이미지 크기 조정 */
|
126 |
+
.image-container img {
|
127 |
+
max-height: 600px !important;
|
128 |
+
}
|
129 |
+
|
130 |
+
/* 이미지 슬라이더 크기 조정 */
|
131 |
+
.image-slider {
|
132 |
+
height: 600px !important;
|
133 |
+
max-height: 600px !important;
|
134 |
+
}
|
135 |
+
|
136 |
h1 {
|
137 |
text-align: center;
|
138 |
font-family: 'Pretendard', sans-serif;
|
|
|
185 |
|
186 |
.visit-button {
|
187 |
background-color: #EA580C;
|
188 |
+
color: white !important; /* 강제 적용 */
|
189 |
padding: 12px 24px;
|
190 |
border-radius: 8px;
|
191 |
font-weight: 600;
|
|
|
194 |
transition: all 0.3s;
|
195 |
margin-top: 1rem;
|
196 |
box-shadow: 0 2px 4px rgba(234, 88, 12, 0.2);
|
197 |
+
font-size: 1.1rem;
|
198 |
}
|
199 |
|
200 |
.visit-button:hover {
|
201 |
background-color: #C2410C;
|
202 |
transform: translateY(-2px);
|
203 |
box-shadow: 0 4px 6px rgba(234, 88, 12, 0.25);
|
204 |
+
color: white !important; /* 호버 상태에서도 강제 적용 */
|
205 |
}
|
206 |
|
207 |
.container-wrapper {
|
|
|
305 |
"""
|
306 |
<div class='footer-content'>
|
307 |
<p style='font-size: 1.1rem; font-weight: 500; color: #1F2937;'>끝장AI가 제공하는 고급 AI 도구를 더 경험하고 싶으신가요?</p>
|
308 |
+
<a href='https://finalendai.com' target='_blank' class='visit-button' style='color: white !important;'>
|
309 |
끝장AI 방문하기
|
310 |
</a>
|
311 |
<p style='margin-top: 1.5rem; color: #6B7280; font-size: 0.9rem;'>
|