Commit ·
66ea91c
1
Parent(s): 3ceafe0
new banner
Browse files
app.py
CHANGED
|
@@ -19,7 +19,7 @@ ACTIVE_REGISTRATION_STATUSES = {"pending", "approved", "registered"}
|
|
| 19 |
REVIEW_STATUS_CHOICES = ["pending", "approved", "rejected", "all"]
|
| 20 |
NVIDIA_GREEN = "#76B900"
|
| 21 |
NVIDIA_GREEN_DARK = "#5F9500"
|
| 22 |
-
BANNER_PATH = "assets/
|
| 23 |
BANNER_DIR = Path(__file__).resolve().parent / "assets"
|
| 24 |
BANNER_FILE = Path(__file__).resolve().parent / BANNER_PATH
|
| 25 |
gr.set_static_paths(paths=[BANNER_DIR])
|
|
@@ -45,6 +45,15 @@ BANNER_HTML = f"""
|
|
| 45 |
<video autoplay muted loop playsinline preload="auto" aria-label="AlpaSim E2E Closed Loop Challenge 2026 banner">
|
| 46 |
<source src="/gradio_api/file={BANNER_PATH}" type="video/mp4" />
|
| 47 |
</video>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 48 |
</header>
|
| 49 |
"""
|
| 50 |
CHALLENGE_OVERVIEW_HTML = """
|
|
@@ -262,7 +271,6 @@ BANNER_CSS = """
|
|
| 262 |
|
| 263 |
.alpasim-hero {
|
| 264 |
position: relative;
|
| 265 |
-
aspect-ratio: 21 / 9;
|
| 266 |
overflow: hidden;
|
| 267 |
margin: 0 -16px;
|
| 268 |
background: #000000;
|
|
@@ -272,8 +280,46 @@ BANNER_CSS = """
|
|
| 272 |
.alpasim-hero video {
|
| 273 |
display: block;
|
| 274 |
width: 100%;
|
| 275 |
-
height:
|
| 276 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 277 |
}
|
| 278 |
|
| 279 |
.challenge-info {
|
|
@@ -461,8 +507,23 @@ BANNER_CSS = """
|
|
| 461 |
gap: 12px;
|
| 462 |
}
|
| 463 |
|
| 464 |
-
.
|
| 465 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 466 |
}
|
| 467 |
|
| 468 |
.challenge-info {
|
|
|
|
| 19 |
REVIEW_STATUS_CHOICES = ["pending", "approved", "rejected", "all"]
|
| 20 |
NVIDIA_GREEN = "#76B900"
|
| 21 |
NVIDIA_GREEN_DARK = "#5F9500"
|
| 22 |
+
BANNER_PATH = "assets/auto-alpasim-end-to-end-closed-loop-driving-1600x400.mp4"
|
| 23 |
BANNER_DIR = Path(__file__).resolve().parent / "assets"
|
| 24 |
BANNER_FILE = Path(__file__).resolve().parent / BANNER_PATH
|
| 25 |
gr.set_static_paths(paths=[BANNER_DIR])
|
|
|
|
| 45 |
<video autoplay muted loop playsinline preload="auto" aria-label="AlpaSim E2E Closed Loop Challenge 2026 banner">
|
| 46 |
<source src="/gradio_api/file={BANNER_PATH}" type="video/mp4" />
|
| 47 |
</video>
|
| 48 |
+
<div class="hero-overlay">
|
| 49 |
+
<div class="hero-overlay-inner">
|
| 50 |
+
<div class="hero-eyebrow">2026 · NVIDIA AV Research · KE:SAI</div>
|
| 51 |
+
<h1 class="hero-title">AlpaSim E2E Closed Loop Challenge</h1>
|
| 52 |
+
<p class="hero-lead">
|
| 53 |
+
A closed-loop benchmark for evaluating autonomous driving policies.
|
| 54 |
+
</p>
|
| 55 |
+
</div>
|
| 56 |
+
</div>
|
| 57 |
</header>
|
| 58 |
"""
|
| 59 |
CHALLENGE_OVERVIEW_HTML = """
|
|
|
|
| 271 |
|
| 272 |
.alpasim-hero {
|
| 273 |
position: relative;
|
|
|
|
| 274 |
overflow: hidden;
|
| 275 |
margin: 0 -16px;
|
| 276 |
background: #000000;
|
|
|
|
| 280 |
.alpasim-hero video {
|
| 281 |
display: block;
|
| 282 |
width: 100%;
|
| 283 |
+
height: auto;
|
| 284 |
+
}
|
| 285 |
+
|
| 286 |
+
.hero-overlay {
|
| 287 |
+
position: absolute;
|
| 288 |
+
inset: 0;
|
| 289 |
+
display: flex;
|
| 290 |
+
align-items: flex-end;
|
| 291 |
+
background: linear-gradient(180deg, rgba(0, 0, 0, 0.10) 0%, rgba(0, 0, 0, 0.55) 100%);
|
| 292 |
+
pointer-events: none;
|
| 293 |
+
}
|
| 294 |
+
|
| 295 |
+
.hero-overlay-inner {
|
| 296 |
+
width: 100%;
|
| 297 |
+
max-width: 1100px;
|
| 298 |
+
margin: 0 auto;
|
| 299 |
+
padding: 40px 24px;
|
| 300 |
+
color: #ffffff;
|
| 301 |
+
}
|
| 302 |
+
|
| 303 |
+
.hero-eyebrow {
|
| 304 |
+
color: #d6f3a3;
|
| 305 |
+
font-size: 0.85em;
|
| 306 |
+
font-weight: 600;
|
| 307 |
+
letter-spacing: 0.14em;
|
| 308 |
+
text-transform: uppercase;
|
| 309 |
+
}
|
| 310 |
+
|
| 311 |
+
.hero-title {
|
| 312 |
+
margin: 8px 0 10px;
|
| 313 |
+
color: #ffffff;
|
| 314 |
+
font-size: clamp(28px, 4vw, 46px);
|
| 315 |
+
line-height: 1.1;
|
| 316 |
+
}
|
| 317 |
+
|
| 318 |
+
.hero-lead {
|
| 319 |
+
max-width: 760px;
|
| 320 |
+
margin: 0;
|
| 321 |
+
color: #e7eaef;
|
| 322 |
+
font-size: 1.05em;
|
| 323 |
}
|
| 324 |
|
| 325 |
.challenge-info {
|
|
|
|
| 507 |
gap: 12px;
|
| 508 |
}
|
| 509 |
|
| 510 |
+
.hero-overlay-inner {
|
| 511 |
+
padding: 12px 18px;
|
| 512 |
+
}
|
| 513 |
+
|
| 514 |
+
.hero-eyebrow {
|
| 515 |
+
font-size: 0.62em;
|
| 516 |
+
letter-spacing: 0.08em;
|
| 517 |
+
}
|
| 518 |
+
|
| 519 |
+
.hero-title {
|
| 520 |
+
margin: 4px 0 0;
|
| 521 |
+
font-size: clamp(16px, 5vw, 22px);
|
| 522 |
+
line-height: 1.05;
|
| 523 |
+
}
|
| 524 |
+
|
| 525 |
+
.hero-lead {
|
| 526 |
+
display: none;
|
| 527 |
}
|
| 528 |
|
| 529 |
.challenge-info {
|
assets/{banner_video.mp4 → auto-alpasim-end-to-end-closed-loop-driving-1600x400.mp4}
RENAMED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d4854f98e6f8a1a44c57736cfa150a63934715eb445da9569e1188e0cf42b4a8
|
| 3 |
+
size 9001936
|