Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -227,11 +227,11 @@ intro_css = """
|
|
| 227 |
color: #344054;
|
| 228 |
text-align: center;
|
| 229 |
max-width: 1000px;
|
| 230 |
-
margin: 0 auto
|
| 231 |
}
|
| 232 |
.introduction-wrapper p, .introduction-section p {
|
| 233 |
font-size: 1.3rem !important; /* ≈22–23 px */
|
| 234 |
-
margin-bottom:
|
| 235 |
}
|
| 236 |
@media (max-width: 768px) {
|
| 237 |
.introduction-wrapper, .introduction-section {
|
|
@@ -302,7 +302,7 @@ body {
|
|
| 302 |
max-width: 800px;
|
| 303 |
height: auto;
|
| 304 |
display: block;
|
| 305 |
-
margin: 0 auto;
|
| 306 |
}
|
| 307 |
"""
|
| 308 |
|
|
@@ -325,12 +325,12 @@ with demo:
|
|
| 325 |
|
| 326 |
|
| 327 |
# NEW ⭐: image immediately below the introduction
|
| 328 |
-
with gr.Row():
|
| 329 |
-
|
| 330 |
-
|
| 331 |
-
|
| 332 |
-
|
| 333 |
-
|
| 334 |
|
| 335 |
with gr.Tabs(elem_classes="tab-buttons"):
|
| 336 |
# ------------------ Leaderboard tab ------------------
|
|
|
|
| 227 |
color: #344054;
|
| 228 |
text-align: center;
|
| 229 |
max-width: 1000px;
|
| 230 |
+
margin: 0 auto 1rem auto;
|
| 231 |
}
|
| 232 |
.introduction-wrapper p, .introduction-section p {
|
| 233 |
font-size: 1.3rem !important; /* ≈22–23 px */
|
| 234 |
+
margin-bottom: 0.5rem;
|
| 235 |
}
|
| 236 |
@media (max-width: 768px) {
|
| 237 |
.introduction-wrapper, .introduction-section {
|
|
|
|
| 302 |
max-width: 800px;
|
| 303 |
height: auto;
|
| 304 |
display: block;
|
| 305 |
+
margin: 0 auto;
|
| 306 |
}
|
| 307 |
"""
|
| 308 |
|
|
|
|
| 325 |
|
| 326 |
|
| 327 |
# NEW ⭐: image immediately below the introduction
|
| 328 |
+
# with gr.Row():
|
| 329 |
+
# gr.Image(
|
| 330 |
+
# value="overview.jpg",
|
| 331 |
+
# show_label=False,
|
| 332 |
+
# elem_id="intro-image",
|
| 333 |
+
# )
|
| 334 |
|
| 335 |
with gr.Tabs(elem_classes="tab-buttons"):
|
| 336 |
# ------------------ Leaderboard tab ------------------
|