Spaces:
Sleeping
Sleeping
Align Neural Lab interface with KrazyKitty ultraviolet portfolio
Browse files
app.py
CHANGED
|
@@ -10,476 +10,223 @@ from research_library import collection_choices, render_collection
|
|
| 10 |
|
| 11 |
CSS = """
|
| 12 |
:root {
|
| 13 |
-
--kk-void: #090611;
|
| 14 |
-
--kk-
|
| 15 |
-
--kk-
|
| 16 |
-
--kk-violet: #8B5CF6;
|
| 17 |
-
--kk-ultraviolet: #A855F7;
|
| 18 |
-
--kk-lavender: #D8B4FE;
|
| 19 |
-
--kk-mist: #E2E0F0;
|
| 20 |
}
|
| 21 |
-
|
| 22 |
-
|
| 23 |
-
|
| 24 |
-
color: var(--kk-mist) !important;
|
| 25 |
-
background: linear-gradient(145deg, var(--kk-void), var(--kk-surface), var(--kk-void)) !important;
|
| 26 |
-
font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
|
| 27 |
}
|
| 28 |
-
|
| 29 |
.gradio-container {
|
| 30 |
-
--body-background-fill:
|
| 31 |
-
--body-text-color:
|
| 32 |
-
--block-background-fill:
|
| 33 |
-
--block-border-color:
|
| 34 |
-
--block-label-
|
| 35 |
-
--
|
| 36 |
-
--
|
| 37 |
-
--input-
|
| 38 |
-
--
|
| 39 |
-
--
|
| 40 |
-
--
|
| 41 |
-
--button-
|
| 42 |
-
|
| 43 |
-
|
| 44 |
-
|
| 45 |
-
|
| 46 |
-
|
| 47 |
-
|
| 48 |
-
|
| 49 |
-
|
| 50 |
-
|
| 51 |
-
|
| 52 |
-
|
| 53 |
-
|
| 54 |
-
|
| 55 |
-
|
| 56 |
-
|
| 57 |
-
|
| 58 |
-
|
| 59 |
-
|
| 60 |
-
|
| 61 |
-
|
| 62 |
-
}
|
| 63 |
-
|
| 64 |
-
.gradio-container :
|
| 65 |
-
|
| 66 |
-
|
| 67 |
-
|
| 68 |
-
|
| 69 |
-
.gradio-container ::selection {
|
| 70 |
-
|
| 71 |
-
background: var(--kk-
|
| 72 |
-
}
|
| 73 |
-
|
| 74 |
-
|
| 75 |
-
|
| 76 |
-
|
| 77 |
-
|
| 78 |
-
|
| 79 |
-
.lab-header {
|
| 80 |
-
border-block-end: 1px solid var(--kk-deep);
|
| 81 |
-
background: var(--kk-void);
|
| 82 |
-
}
|
| 83 |
-
|
| 84 |
-
.lab-nav {
|
| 85 |
-
display: flex;
|
| 86 |
-
align-items: center;
|
| 87 |
-
justify-content: space-between;
|
| 88 |
-
min-block-size: 4.8rem;
|
| 89 |
-
gap: 1rem;
|
| 90 |
-
}
|
| 91 |
-
|
| 92 |
-
.lab-brand {
|
| 93 |
-
color: var(--kk-mist);
|
| 94 |
-
font-family: "Cascadia Code", Consolas, monospace;
|
| 95 |
-
font-weight: 900;
|
| 96 |
-
letter-spacing: 0.08em;
|
| 97 |
-
}
|
| 98 |
-
|
| 99 |
-
.lab-nav span:last-child {
|
| 100 |
-
color: var(--kk-lavender);
|
| 101 |
-
font-family: "Cascadia Code", Consolas, monospace;
|
| 102 |
-
font-size: 0.74rem;
|
| 103 |
-
letter-spacing: 0.08em;
|
| 104 |
-
}
|
| 105 |
-
|
| 106 |
-
.lab-hero {
|
| 107 |
-
display: grid;
|
| 108 |
-
grid-template-columns: minmax(0, 1.35fr) minmax(17rem, 0.65fr);
|
| 109 |
-
align-items: center;
|
| 110 |
-
min-block-size: 650px;
|
| 111 |
-
padding-block: clamp(4.5rem, 10vw, 7.5rem);
|
| 112 |
-
gap: clamp(2rem, 7vw, 6rem);
|
| 113 |
-
}
|
| 114 |
-
|
| 115 |
-
.lab-kicker,
|
| 116 |
-
.section-kicker,
|
| 117 |
-
.detail-eyebrow {
|
| 118 |
-
color: var(--kk-lavender);
|
| 119 |
-
font-family: "Cascadia Code", Consolas, monospace;
|
| 120 |
-
font-size: 0.76rem;
|
| 121 |
-
font-weight: 900;
|
| 122 |
-
letter-spacing: 0.15em;
|
| 123 |
-
text-transform: uppercase;
|
| 124 |
-
}
|
| 125 |
-
|
| 126 |
-
.lab-hero h1 {
|
| 127 |
-
max-inline-size: 10ch;
|
| 128 |
-
margin-block: 0.7rem 1.3rem;
|
| 129 |
-
color: var(--kk-mist);
|
| 130 |
-
font-size: clamp(3.4rem, 9.5vw, 7.7rem);
|
| 131 |
-
line-height: 0.96;
|
| 132 |
-
letter-spacing: -0.075em;
|
| 133 |
-
}
|
| 134 |
-
|
| 135 |
-
.lab-hero h1 span {
|
| 136 |
-
display: block;
|
| 137 |
-
color: var(--kk-lavender);
|
| 138 |
-
}
|
| 139 |
-
|
| 140 |
-
.lab-lede {
|
| 141 |
-
max-inline-size: 62ch;
|
| 142 |
-
color: var(--kk-lavender);
|
| 143 |
-
font-size: clamp(1.05rem, 2.2vw, 1.4rem);
|
| 144 |
-
line-height: 1.65;
|
| 145 |
-
}
|
| 146 |
-
|
| 147 |
-
.hero-console {
|
| 148 |
-
padding: 1.3rem;
|
| 149 |
-
border: 1px solid var(--kk-violet);
|
| 150 |
-
border-radius: 28px;
|
| 151 |
-
background: var(--kk-surface);
|
| 152 |
-
box-shadow: 0 2rem 5rem var(--kk-void);
|
| 153 |
-
}
|
| 154 |
-
|
| 155 |
-
.console-mark {
|
| 156 |
-
display: grid;
|
| 157 |
-
place-items: center;
|
| 158 |
-
min-block-size: 15rem;
|
| 159 |
-
border: 1px solid var(--kk-deep);
|
| 160 |
-
border-radius: 18px;
|
| 161 |
-
background: linear-gradient(145deg, var(--kk-deep), var(--kk-surface));
|
| 162 |
-
color: var(--kk-mist);
|
| 163 |
-
font-size: clamp(3rem, 8vw, 5.2rem);
|
| 164 |
-
font-weight: 950;
|
| 165 |
-
letter-spacing: -0.08em;
|
| 166 |
-
}
|
| 167 |
-
|
| 168 |
-
.console-mark span {
|
| 169 |
-
color: var(--kk-lavender);
|
| 170 |
-
}
|
| 171 |
-
|
| 172 |
-
.console-list {
|
| 173 |
-
display: grid;
|
| 174 |
-
margin-block-start: 1rem;
|
| 175 |
-
gap: 0.55rem;
|
| 176 |
-
}
|
| 177 |
-
|
| 178 |
-
.console-list span {
|
| 179 |
-
display: flex;
|
| 180 |
-
justify-content: space-between;
|
| 181 |
-
padding-block: 0.55rem;
|
| 182 |
-
border-block-start: 1px solid var(--kk-deep);
|
| 183 |
-
color: var(--kk-lavender);
|
| 184 |
-
font-family: "Cascadia Code", Consolas, monospace;
|
| 185 |
-
font-size: 0.76rem;
|
| 186 |
-
}
|
| 187 |
-
|
| 188 |
-
.console-list strong {
|
| 189 |
-
color: var(--kk-mist);
|
| 190 |
-
}
|
| 191 |
-
|
| 192 |
-
.lab-section {
|
| 193 |
-
padding-block: clamp(4rem, 9vw, 7rem);
|
| 194 |
-
border-block-start: 1px solid var(--kk-deep);
|
| 195 |
-
}
|
| 196 |
-
|
| 197 |
-
.lab-section h2 {
|
| 198 |
-
margin-block: 0.5rem 1rem;
|
| 199 |
-
color: var(--kk-mist);
|
| 200 |
-
font-size: clamp(2rem, 5vw, 4rem);
|
| 201 |
-
line-height: 1.05;
|
| 202 |
-
letter-spacing: -0.05em;
|
| 203 |
-
}
|
| 204 |
-
|
| 205 |
-
.section-lede {
|
| 206 |
-
max-inline-size: 68ch;
|
| 207 |
-
color: var(--kk-lavender);
|
| 208 |
-
font-size: 1.05rem;
|
| 209 |
-
line-height: 1.7;
|
| 210 |
-
}
|
| 211 |
-
|
| 212 |
-
.portfolio-grid,
|
| 213 |
-
.principle-grid,
|
| 214 |
-
.collection-grid {
|
| 215 |
-
display: grid;
|
| 216 |
-
grid-template-columns: repeat(2, minmax(0, 1fr));
|
| 217 |
-
margin-block-start: 2rem;
|
| 218 |
-
gap: 1rem;
|
| 219 |
-
}
|
| 220 |
-
|
| 221 |
-
.portfolio-card,
|
| 222 |
-
.principle-card,
|
| 223 |
-
.collection-card {
|
| 224 |
-
min-block-size: 13rem;
|
| 225 |
-
padding: clamp(1.25rem, 3vw, 2rem);
|
| 226 |
-
border: 1px solid var(--kk-deep);
|
| 227 |
-
border-radius: 18px;
|
| 228 |
-
background: var(--kk-surface);
|
| 229 |
-
box-shadow: 0 1rem 2.5rem var(--kk-void);
|
| 230 |
-
}
|
| 231 |
-
|
| 232 |
-
.portfolio-card h3,
|
| 233 |
-
.principle-card h3,
|
| 234 |
-
.collection-card h3,
|
| 235 |
-
.project-detail h2,
|
| 236 |
-
.project-detail h3 {
|
| 237 |
-
margin-block: 0.5rem 0.7rem;
|
| 238 |
-
color: var(--kk-mist);
|
| 239 |
-
line-height: 1.15;
|
| 240 |
-
}
|
| 241 |
-
|
| 242 |
-
.portfolio-card p,
|
| 243 |
-
.principle-card p,
|
| 244 |
-
.collection-card p,
|
| 245 |
-
.project-detail p,
|
| 246 |
-
.project-detail li {
|
| 247 |
-
color: var(--kk-lavender);
|
| 248 |
-
line-height: 1.65;
|
| 249 |
-
}
|
| 250 |
-
|
| 251 |
-
.state-badge {
|
| 252 |
-
display: inline-flex;
|
| 253 |
-
padding: 0.3rem 0.65rem;
|
| 254 |
-
border: 1px solid var(--kk-violet);
|
| 255 |
-
border-radius: 999px;
|
| 256 |
-
color: var(--kk-lavender);
|
| 257 |
-
font-family: "Cascadia Code", Consolas, monospace;
|
| 258 |
-
font-size: 0.67rem;
|
| 259 |
-
font-weight: 900;
|
| 260 |
-
letter-spacing: 0.08em;
|
| 261 |
-
}
|
| 262 |
-
|
| 263 |
-
.state-badge.verified {
|
| 264 |
-
border-color: var(--kk-lavender);
|
| 265 |
-
color: var(--kk-mist);
|
| 266 |
-
}
|
| 267 |
-
|
| 268 |
-
.state-badge.private {
|
| 269 |
-
border-style: dashed;
|
| 270 |
-
border-color: var(--kk-lavender);
|
| 271 |
-
color: var(--kk-mist);
|
| 272 |
-
}
|
| 273 |
-
|
| 274 |
-
.state-badge.proposed,
|
| 275 |
-
.state-badge.planned {
|
| 276 |
-
border-style: dashed;
|
| 277 |
-
}
|
| 278 |
-
|
| 279 |
-
.explorer-wrap {
|
| 280 |
-
inline-size: min(calc(100% - 2rem), 1180px) !important;
|
| 281 |
-
margin-inline: auto !important;
|
| 282 |
-
padding-block-end: clamp(4rem, 9vw, 7rem) !important;
|
| 283 |
-
gap: 1rem !important;
|
| 284 |
-
}
|
| 285 |
-
|
| 286 |
-
.explorer-panel {
|
| 287 |
-
border: 1px solid var(--kk-deep) !important;
|
| 288 |
-
border-radius: 18px !important;
|
| 289 |
-
background: var(--kk-surface) !important;
|
| 290 |
-
}
|
| 291 |
-
|
| 292 |
-
.project-detail {
|
| 293 |
-
min-block-size: 31rem;
|
| 294 |
-
padding: clamp(1.3rem, 3vw, 2.2rem);
|
| 295 |
-
border: 1px solid var(--kk-violet);
|
| 296 |
-
border-radius: 18px;
|
| 297 |
-
background: var(--kk-surface);
|
| 298 |
-
}
|
| 299 |
-
|
| 300 |
-
.collection-detail {
|
| 301 |
-
min-block-size: 22rem;
|
| 302 |
-
padding: clamp(1.3rem, 3vw, 2.2rem);
|
| 303 |
-
border: 1px solid var(--kk-violet);
|
| 304 |
-
border-radius: 18px;
|
| 305 |
-
background: var(--kk-surface);
|
| 306 |
-
}
|
| 307 |
-
|
| 308 |
-
.collection-detail h3 {
|
| 309 |
-
margin-block: 0.7rem;
|
| 310 |
-
color: var(--kk-mist);
|
| 311 |
-
font-size: clamp(1.55rem, 3vw, 2.3rem);
|
| 312 |
-
}
|
| 313 |
-
|
| 314 |
-
.collection-detail p,
|
| 315 |
-
.collection-detail dd {
|
| 316 |
-
color: var(--kk-lavender);
|
| 317 |
-
line-height: 1.65;
|
| 318 |
-
}
|
| 319 |
-
|
| 320 |
-
.collection-facts {
|
| 321 |
-
display: grid;
|
| 322 |
-
grid-template-columns: repeat(2, minmax(0, 1fr));
|
| 323 |
-
gap: 0.75rem;
|
| 324 |
-
margin-block: 1.5rem;
|
| 325 |
-
}
|
| 326 |
-
|
| 327 |
-
.collection-facts div,
|
| 328 |
-
.scope-note {
|
| 329 |
-
padding: 1rem;
|
| 330 |
-
border: 1px solid var(--kk-deep);
|
| 331 |
-
border-radius: 12px;
|
| 332 |
-
background: var(--kk-void);
|
| 333 |
-
}
|
| 334 |
-
|
| 335 |
-
.collection-facts dt {
|
| 336 |
-
color: var(--kk-lavender);
|
| 337 |
-
font-family: "Cascadia Code", Consolas, monospace;
|
| 338 |
-
font-size: 0.72rem;
|
| 339 |
-
font-weight: 900;
|
| 340 |
-
letter-spacing: 0.08em;
|
| 341 |
-
text-transform: uppercase;
|
| 342 |
-
}
|
| 343 |
-
|
| 344 |
-
.collection-facts dd {
|
| 345 |
-
margin: 0.4rem 0 0;
|
| 346 |
-
color: var(--kk-mist);
|
| 347 |
-
font-weight: 850;
|
| 348 |
-
}
|
| 349 |
-
|
| 350 |
-
.detail-topline {
|
| 351 |
-
display: flex;
|
| 352 |
-
align-items: center;
|
| 353 |
-
justify-content: space-between;
|
| 354 |
-
gap: 1rem;
|
| 355 |
-
}
|
| 356 |
-
|
| 357 |
-
.project-detail h2 {
|
| 358 |
-
font-size: clamp(2rem, 4vw, 3.2rem);
|
| 359 |
-
letter-spacing: -0.04em;
|
| 360 |
-
}
|
| 361 |
-
|
| 362 |
-
.project-detail h3 {
|
| 363 |
-
margin-block-start: 1.5rem;
|
| 364 |
-
}
|
| 365 |
-
|
| 366 |
-
.project-detail ul {
|
| 367 |
-
padding-inline-start: 1.2rem;
|
| 368 |
-
}
|
| 369 |
-
|
| 370 |
-
.project-detail li + li {
|
| 371 |
-
margin-block-start: 0.4rem;
|
| 372 |
-
}
|
| 373 |
-
|
| 374 |
-
.next-gate {
|
| 375 |
-
margin-block: 1.5rem;
|
| 376 |
-
padding: 1rem;
|
| 377 |
-
border-inline-start: 0.35rem solid var(--kk-ultraviolet);
|
| 378 |
-
background: var(--kk-void);
|
| 379 |
-
}
|
| 380 |
-
|
| 381 |
-
.next-gate p {
|
| 382 |
-
margin-block-end: 0;
|
| 383 |
-
}
|
| 384 |
-
|
| 385 |
-
.project-link {
|
| 386 |
-
display: inline-flex;
|
| 387 |
-
align-items: center;
|
| 388 |
-
min-block-size: 3rem;
|
| 389 |
-
padding-inline: 1rem;
|
| 390 |
-
border: 1px solid var(--kk-violet);
|
| 391 |
-
border-radius: 999px;
|
| 392 |
-
background: var(--kk-deep);
|
| 393 |
-
color: var(--kk-mist) !important;
|
| 394 |
-
font-weight: 850;
|
| 395 |
text-decoration: none;
|
| 396 |
}
|
| 397 |
-
|
| 398 |
-
|
| 399 |
-
|
| 400 |
-
|
| 401 |
-
|
| 402 |
-
|
| 403 |
-
|
| 404 |
-
|
| 405 |
-
|
| 406 |
-
|
| 407 |
-
|
| 408 |
-
.
|
| 409 |
-
|
| 410 |
-
|
| 411 |
-
|
| 412 |
-
|
| 413 |
-
|
| 414 |
-
|
| 415 |
-
|
| 416 |
-
|
| 417 |
-
|
| 418 |
-
|
| 419 |
-
|
| 420 |
-
|
| 421 |
-
|
| 422 |
-
.
|
| 423 |
-
|
| 424 |
-
|
| 425 |
-
background: var(--kk-
|
| 426 |
-
|
| 427 |
-
|
| 428 |
-
|
| 429 |
-
|
| 430 |
-
|
| 431 |
-
|
| 432 |
-
|
| 433 |
-
|
| 434 |
-
|
| 435 |
-
}
|
| 436 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 437 |
@media (max-width: 800px) {
|
| 438 |
-
.lab-hero,
|
| 439 |
-
.
|
| 440 |
-
.
|
| 441 |
-
.
|
| 442 |
-
|
| 443 |
-
|
| 444 |
-
|
| 445 |
-
.
|
| 446 |
-
|
| 447 |
-
}
|
| 448 |
-
|
| 449 |
-
.
|
| 450 |
-
min-block-size: auto;
|
| 451 |
-
}
|
| 452 |
-
|
| 453 |
-
.lab-nav,
|
| 454 |
-
.detail-topline,
|
| 455 |
-
.footer-row {
|
| 456 |
-
align-items: flex-start;
|
| 457 |
-
flex-direction: column;
|
| 458 |
-
}
|
| 459 |
}
|
| 460 |
-
|
| 461 |
@media (prefers-reduced-motion: reduce) {
|
| 462 |
-
*,
|
| 463 |
-
*::before,
|
| 464 |
-
*::after {
|
| 465 |
-
scroll-behavior: auto !important;
|
| 466 |
-
transition-duration: 0.01ms !important;
|
| 467 |
-
}
|
| 468 |
-
}
|
| 469 |
-
|
| 470 |
-
@media (prefers-contrast: more) {
|
| 471 |
-
:root {
|
| 472 |
-
--kk-deep: #8B5CF6;
|
| 473 |
-
--kk-violet: #D8B4FE;
|
| 474 |
-
}
|
| 475 |
}
|
| 476 |
"""
|
| 477 |
|
| 478 |
HERO = """
|
| 479 |
<header class="lab-header">
|
| 480 |
<div class="lab-shell lab-nav">
|
| 481 |
-
<
|
| 482 |
-
<
|
| 483 |
</div>
|
| 484 |
</header>
|
| 485 |
<main>
|
|
@@ -488,6 +235,7 @@ HERO = """
|
|
| 488 |
<span class="lab-kicker">Ultraviolet research interface</span>
|
| 489 |
<h1 id="lab-title">NEURAL<span>LAB</span></h1>
|
| 490 |
<p class="lab-lede">A navigable map of KrazyKitty's language-model, dataset, and agent-systems research—built around provenance, reproducibility, and honest evidence boundaries.</p>
|
|
|
|
| 491 |
</div>
|
| 492 |
<aside class="hero-console" aria-label="Dashboard state">
|
| 493 |
<div class="console-mark">K<span>//</span>K</div>
|
|
@@ -499,7 +247,7 @@ HERO = """
|
|
| 499 |
</div>
|
| 500 |
</aside>
|
| 501 |
</section>
|
| 502 |
-
<section class="lab-section">
|
| 503 |
<div class="lab-shell">
|
| 504 |
<span class="section-kicker">01 // Portfolio map</span>
|
| 505 |
<h2>One lab. Distinct research boundaries.</h2>
|
|
@@ -555,8 +303,8 @@ def update_requirements(track: str) -> gr.CheckboxGroup:
|
|
| 555 |
|
| 556 |
|
| 557 |
with gr.Blocks(title="KRAZYKITTY // NEURAL LAB") as demo:
|
| 558 |
-
gr.HTML(HERO, container=False)
|
| 559 |
-
with gr.Row(elem_classes=["explorer-wrap"]):
|
| 560 |
with gr.Column(scale=1, min_width=260, elem_classes=["explorer-panel"]):
|
| 561 |
gr.Markdown(
|
| 562 |
"## 02 // Project explorer\nChoose a research node. Status labels are evidence states, not live service indicators."
|
|
@@ -569,14 +317,14 @@ with gr.Blocks(title="KRAZYKITTY // NEURAL LAB") as demo:
|
|
| 569 |
interactive=True,
|
| 570 |
)
|
| 571 |
with gr.Column(scale=2, min_width=320):
|
| 572 |
-
project_detail = gr.HTML(render_project("KittyLM"), container=False)
|
| 573 |
project_picker.change(
|
| 574 |
render_project,
|
| 575 |
inputs=project_picker,
|
| 576 |
outputs=project_detail,
|
| 577 |
api_visibility="private",
|
| 578 |
)
|
| 579 |
-
with gr.Row(elem_classes=["explorer-wrap"]):
|
| 580 |
with gr.Column(scale=1, min_width=260, elem_classes=["explorer-panel"]):
|
| 581 |
gr.Markdown(
|
| 582 |
"## 03 // Collection explorer\nReview the scope and first-party research node for each public Collection."
|
|
@@ -590,7 +338,7 @@ with gr.Blocks(title="KRAZYKITTY // NEURAL LAB") as demo:
|
|
| 590 |
)
|
| 591 |
with gr.Column(scale=2, min_width=320):
|
| 592 |
collection_detail = gr.HTML(
|
| 593 |
-
render_collection("Transformer Foundations"), container=False
|
| 594 |
)
|
| 595 |
collection_picker.change(
|
| 596 |
render_collection,
|
|
@@ -598,7 +346,7 @@ with gr.Blocks(title="KRAZYKITTY // NEURAL LAB") as demo:
|
|
| 598 |
outputs=collection_detail,
|
| 599 |
api_visibility="private",
|
| 600 |
)
|
| 601 |
-
with gr.Row(elem_classes=["explorer-wrap"]):
|
| 602 |
with gr.Column(scale=1, min_width=300, elem_classes=["explorer-panel"]):
|
| 603 |
gr.Markdown(
|
| 604 |
"## 04 // Research-readiness check\nA transparent documentation checklist—not a model, safety certification, or publication decision."
|
|
@@ -632,10 +380,10 @@ with gr.Blocks(title="KRAZYKITTY // NEURAL LAB") as demo:
|
|
| 632 |
outputs=readiness_result,
|
| 633 |
api_visibility="private",
|
| 634 |
)
|
| 635 |
-
gr.HTML(LOWER_SECTIONS, container=False)
|
| 636 |
|
| 637 |
|
| 638 |
if __name__ == "__main__":
|
| 639 |
-
demo.launch(css=CSS)
|
| 640 |
|
| 641 |
|
|
|
|
| 10 |
|
| 11 |
CSS = """
|
| 12 |
:root {
|
| 13 |
+
--kk-void: #090611; --kk-surface: #170D2B; --kk-deep: #6D28D9;
|
| 14 |
+
--kk-violet: #8B5CF6; --kk-ultraviolet: #A855F7;
|
| 15 |
+
--kk-lavender: #D8B4FE; --kk-mist: #E2E0F0;
|
|
|
|
|
|
|
|
|
|
|
|
|
| 16 |
}
|
| 17 |
+
body, .gradio-container {
|
| 18 |
+
background: var(--kk-void) !important; color: var(--kk-mist) !important;
|
| 19 |
+
font-family: Inter, ui-sans-serif, system-ui, "Segoe UI", sans-serif !important;
|
|
|
|
|
|
|
|
|
|
| 20 |
}
|
|
|
|
| 21 |
.gradio-container {
|
| 22 |
+
--body-background-fill: #090611; --body-text-color: #E2E0F0;
|
| 23 |
+
--body-text-color-subdued: #D8B4FE;
|
| 24 |
+
--block-background-fill: #170D2B; --block-background-fill-dark: #170D2B;
|
| 25 |
+
--block-border-color: #6D28D9; --block-border-color-dark: #6D28D9;
|
| 26 |
+
--block-label-background-fill: #170D2B; --block-label-background-fill-dark: #170D2B;
|
| 27 |
+
--block-label-text-color: #D8B4FE; --block-label-text-color-dark: #D8B4FE;
|
| 28 |
+
--block-title-text-color: #E2E0F0; --block-title-text-color-dark: #E2E0F0;
|
| 29 |
+
--input-background-fill: #090611; --input-background-fill-dark: #090611;
|
| 30 |
+
--input-border-color: #8B5CF6; --input-border-color-dark: #8B5CF6;
|
| 31 |
+
--input-text-color: #E2E0F0; --input-text-color-dark: #E2E0F0;
|
| 32 |
+
--input-placeholder-color: #D8B4FE; --input-placeholder-color-dark: #D8B4FE;
|
| 33 |
+
--button-primary-background-fill: #6D28D9; --button-primary-background-fill-dark: #6D28D9;
|
| 34 |
+
--button-primary-background-fill-hover: #8B5CF6; --button-primary-background-fill-hover-dark: #8B5CF6;
|
| 35 |
+
--button-primary-text-color: #E2E0F0; --button-primary-text-color-dark: #E2E0F0;
|
| 36 |
+
--button-secondary-background-fill: #170D2B; --button-secondary-background-fill-dark: #170D2B;
|
| 37 |
+
--button-secondary-text-color: #D8B4FE; --button-secondary-text-color-dark: #D8B4FE;
|
| 38 |
+
--checkbox-background-color: #090611; --checkbox-background-color-dark: #090611;
|
| 39 |
+
--checkbox-background-color-selected: #6D28D9; --checkbox-background-color-selected-dark: #6D28D9;
|
| 40 |
+
--checkbox-label-background-fill: #090611; --checkbox-label-background-fill-dark: #090611;
|
| 41 |
+
--checkbox-label-background-fill-selected: #170D2B; --checkbox-label-background-fill-selected-dark: #170D2B;
|
| 42 |
+
--checkbox-label-text-color: #E2E0F0; --checkbox-label-text-color-dark: #E2E0F0;
|
| 43 |
+
--background-fill-primary: #090611; --background-fill-primary-dark: #090611;
|
| 44 |
+
--background-fill-secondary: #170D2B; --background-fill-secondary-dark: #170D2B;
|
| 45 |
+
--border-color-primary: #6D28D9; --border-color-primary-dark: #6D28D9;
|
| 46 |
+
--color-accent: #8B5CF6;
|
| 47 |
+
max-width: 100% !important; padding: 0 !important; font-size: 16px !important;
|
| 48 |
+
background-image: linear-gradient(rgba(109,40,217,.07) 1px, transparent 1px),
|
| 49 |
+
linear-gradient(90deg, rgba(109,40,217,.07) 1px, transparent 1px) !important;
|
| 50 |
+
background-size: 64px 64px !important;
|
| 51 |
+
}
|
| 52 |
+
.gradio-container .lab-shell, .gradio-container .neko-shell {
|
| 53 |
+
width: min(calc(100% - 3rem), 1180px); margin-inline: auto;
|
| 54 |
+
}
|
| 55 |
+
.gradio-container a { color: var(--kk-lavender); text-underline-offset: .25em; }
|
| 56 |
+
.gradio-container .main { max-width: 100% !important; padding: 0 !important; }
|
| 57 |
+
.gradio-container .html-container { padding: 0 !important; }
|
| 58 |
+
.gradio-container :where(a, button, input, textarea, [tabindex]):focus-visible {
|
| 59 |
+
outline: 3px solid var(--kk-lavender) !important; outline-offset: 4px !important;
|
| 60 |
+
}
|
| 61 |
+
.gradio-container ::selection { background: var(--kk-lavender); color: var(--kk-void); }
|
| 62 |
+
.gradio-container .lab-header, .gradio-container .neko-header {
|
| 63 |
+
background: var(--kk-void); border-bottom: 1px solid var(--kk-deep); padding: 0;
|
| 64 |
+
}
|
| 65 |
+
.gradio-container .lab-nav {
|
| 66 |
+
display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
|
| 67 |
+
min-height: 80px; flex-wrap: wrap; padding-block: 1rem;
|
| 68 |
+
}
|
| 69 |
+
.gradio-container .lab-brand {
|
| 70 |
+
color: var(--kk-mist); font-size: .9rem; font-weight: 850; letter-spacing: .04em;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 71 |
text-decoration: none;
|
| 72 |
}
|
| 73 |
+
.gradio-container .lab-nav nav { display: flex; flex-wrap: wrap; gap: 1.4rem; }
|
| 74 |
+
.gradio-container .lab-nav nav a {
|
| 75 |
+
font: 700 .75rem Consolas, monospace; letter-spacing: .08em; text-decoration: none;
|
| 76 |
+
}
|
| 77 |
+
.gradio-container .lab-nav nav a:hover { color: var(--kk-mist); }
|
| 78 |
+
.gradio-container .lab-hero, .gradio-container .neko-hero {
|
| 79 |
+
display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(250px, .8fr);
|
| 80 |
+
align-items: center; gap: 3rem; min-height: 0; padding-block: clamp(3rem, 6vw, 5rem);
|
| 81 |
+
}
|
| 82 |
+
.gradio-container .lab-kicker, .gradio-container .neko-kicker,
|
| 83 |
+
.gradio-container .section-kicker, .gradio-container .detail-eyebrow,
|
| 84 |
+
.gradio-container .boundary-label {
|
| 85 |
+
color: var(--kk-lavender); font: 700 .75rem Consolas, monospace;
|
| 86 |
+
letter-spacing: .13em; text-transform: uppercase;
|
| 87 |
+
}
|
| 88 |
+
.gradio-container .lab-hero h1, .gradio-container .neko-hero h1 {
|
| 89 |
+
font-size: clamp(3rem, 7.5vw, 6.4rem); line-height: 1; font-weight: 900;
|
| 90 |
+
letter-spacing: -.065em; margin: 1.1rem 0 1.5rem; max-width: none;
|
| 91 |
+
}
|
| 92 |
+
.gradio-container .lab-hero h1 span, .gradio-container .neko-hero h1 span {
|
| 93 |
+
display: block; color: var(--kk-lavender);
|
| 94 |
+
}
|
| 95 |
+
.gradio-container .lab-lede, .gradio-container .neko-hero p {
|
| 96 |
+
font-size: 1.1rem; line-height: 1.8; color: var(--kk-lavender); max-width: 58ch; margin: 0;
|
| 97 |
+
}
|
| 98 |
+
.gradio-container .hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }
|
| 99 |
+
.gradio-container .project-link {
|
| 100 |
+
display: inline-flex; align-items: center; justify-content: center; min-height: 46px;
|
| 101 |
+
padding: .7rem 1.2rem; background: var(--kk-deep); color: var(--kk-mist);
|
| 102 |
+
border: 1px solid var(--kk-violet); border-radius: 8px; font-size: .9rem;
|
| 103 |
+
font-weight: 750; text-decoration: none; line-height: 1.4;
|
| 104 |
+
}
|
| 105 |
+
.gradio-container .project-link.secondary { background: var(--kk-surface); }
|
| 106 |
+
.gradio-container .project-link:hover { background: var(--kk-violet); color: var(--kk-void); }
|
| 107 |
+
.gradio-container .hero-console, .gradio-container .boundary-card {
|
| 108 |
+
padding: 1.6rem; border: 1px solid var(--kk-violet); border-radius: 16px;
|
| 109 |
+
background: linear-gradient(145deg, var(--kk-surface), var(--kk-void));
|
| 110 |
+
box-shadow: 0 0 48px rgba(109,40,217,.14);
|
| 111 |
+
}
|
| 112 |
+
.gradio-container .console-mark {
|
| 113 |
+
display: flex; align-items: center; justify-content: center; min-height: 140px;
|
| 114 |
+
font-size: 3.8rem; letter-spacing: -.08em; font-weight: 900; color: var(--kk-mist);
|
| 115 |
+
border-bottom: 1px solid var(--kk-deep); margin-bottom: 1rem;
|
| 116 |
+
}
|
| 117 |
+
.gradio-container .console-mark span { color: var(--kk-violet); }
|
| 118 |
+
.gradio-container .console-list { display: grid; gap: .7rem; }
|
| 119 |
+
.gradio-container .console-list span {
|
| 120 |
+
display: flex; justify-content: space-between; gap: .5rem;
|
| 121 |
+
font: .7rem Consolas, monospace; color: var(--kk-lavender);
|
| 122 |
+
}
|
| 123 |
+
.gradio-container .console-list strong { color: var(--kk-mist); }
|
| 124 |
+
.gradio-container .boundary-card strong {
|
| 125 |
+
display: block; font-size: 1.6rem; line-height: 1.3; margin: 1rem 0; color: var(--kk-mist);
|
| 126 |
+
}
|
| 127 |
+
.gradio-container .boundary-card p { font-size: .95rem; line-height: 1.8; color: var(--kk-lavender); }
|
| 128 |
+
.gradio-container .lab-section { padding-block: 3rem; border-top: 1px solid var(--kk-deep); }
|
| 129 |
+
.gradio-container .lab-section h2, .gradio-container .neko-links h2 {
|
| 130 |
+
font-size: clamp(1.8rem, 3.4vw, 2.8rem); font-weight: 850; line-height: 1.15;
|
| 131 |
+
letter-spacing: -.04em; margin: .8rem 0 1rem; color: var(--kk-mist);
|
| 132 |
+
}
|
| 133 |
+
.gradio-container .section-lede { font-size: 1rem; line-height: 1.8; color: var(--kk-lavender); max-width: 72ch; }
|
| 134 |
+
.gradio-container .portfolio-grid, .gradio-container .principle-grid, .gradio-container .collection-grid {
|
| 135 |
+
display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1rem; margin-top: 1.5rem;
|
| 136 |
+
}
|
| 137 |
+
.gradio-container .portfolio-card, .gradio-container .principle-card, .gradio-container .collection-card {
|
| 138 |
+
min-height: 0; padding: 1.5rem; border: 1px solid var(--kk-deep);
|
| 139 |
+
border-radius: 12px; background: var(--kk-surface); text-align: left; text-decoration: none;
|
| 140 |
+
}
|
| 141 |
+
.gradio-container .portfolio-card h3, .gradio-container .principle-card h3,
|
| 142 |
+
.gradio-container .collection-card h3 {
|
| 143 |
+
font-size: 1.2rem; font-weight: 800; line-height: 1.4; color: var(--kk-mist); margin: .8rem 0 .5rem;
|
| 144 |
+
}
|
| 145 |
+
.gradio-container .portfolio-card p, .gradio-container .principle-card p,
|
| 146 |
+
.gradio-container .collection-card p {
|
| 147 |
+
color: var(--kk-lavender); font-size: .95rem; line-height: 1.7; margin: 0;
|
| 148 |
+
}
|
| 149 |
+
.gradio-container a.collection-card:hover { border-color: var(--kk-lavender); }
|
| 150 |
+
.gradio-container .state-badge {
|
| 151 |
+
display: inline-flex; border: 1px solid var(--kk-violet); border-radius: 5px;
|
| 152 |
+
padding: .3rem .5rem; font: 700 .65rem Consolas, monospace; letter-spacing: .06em;
|
| 153 |
+
color: var(--kk-lavender); line-height: 1.4;
|
| 154 |
+
}
|
| 155 |
+
.gradio-container .explorer-wrap, .gradio-container .demo-wrap {
|
| 156 |
+
width: min(calc(100% - 3rem),1180px) !important; margin: 0 auto 2rem !important;
|
| 157 |
+
padding: 0 !important; gap: 1.25rem !important; border: 0;
|
| 158 |
+
}
|
| 159 |
+
.gradio-container .explorer-panel, .gradio-container .demo-panel {
|
| 160 |
+
padding: 1.5rem !important; border: 1px solid var(--kk-deep) !important;
|
| 161 |
+
border-radius: 12px !important; background: var(--kk-surface) !important; gap: 1rem !important;
|
| 162 |
+
}
|
| 163 |
+
.gradio-container .explorer-panel .prose h2, .gradio-container .demo-panel .prose h2 {
|
| 164 |
+
font-size: 1.35rem; line-height: 1.35; font-weight: 800; margin: 0 0 .8rem;
|
| 165 |
+
}
|
| 166 |
+
.gradio-container .explorer-panel .prose h3, .gradio-container .demo-panel .prose h3 {
|
| 167 |
+
font-size: 1rem; font-weight: 800; color: var(--kk-lavender); margin: .8rem 0;
|
| 168 |
+
}
|
| 169 |
+
.gradio-container .prose p, .gradio-container .prose li { line-height: 1.75; }
|
| 170 |
+
.gradio-container .project-detail, .gradio-container .collection-detail {
|
| 171 |
+
min-height: 0; height: 100%; padding: 1.75rem; border: 1px solid var(--kk-deep);
|
| 172 |
+
border-radius: 12px; background: var(--kk-surface);
|
| 173 |
+
}
|
| 174 |
+
.gradio-container .detail-topline { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center; }
|
| 175 |
+
.gradio-container .project-detail h2 {
|
| 176 |
+
font-size: clamp(1.8rem,3vw,2.5rem); font-weight: 850; letter-spacing: -.04em; margin: 1rem 0;
|
| 177 |
+
}
|
| 178 |
+
.gradio-container .collection-detail h3 { font-size: 1.5rem; font-weight: 800; line-height: 1.3; margin: 1rem 0; }
|
| 179 |
+
.gradio-container .project-detail h3 { font-size: 1rem; font-weight: 800; margin: 1.4rem 0 .6rem; }
|
| 180 |
+
.gradio-container .project-detail p, .gradio-container .project-detail li,
|
| 181 |
+
.gradio-container .collection-detail p, .gradio-container .collection-detail dd {
|
| 182 |
+
font-size: .95rem; line-height: 1.75; color: var(--kk-lavender);
|
| 183 |
+
}
|
| 184 |
+
.gradio-container .project-detail ul { padding-left: 1.2rem; list-style: disc; }
|
| 185 |
+
.gradio-container .next-gate, .gradio-container .scope-note {
|
| 186 |
+
margin: 1.2rem 0; padding: 1rem; background: var(--kk-void);
|
| 187 |
+
border-left: 3px solid var(--kk-ultraviolet); border-radius: 5px;
|
| 188 |
+
}
|
| 189 |
+
.gradio-container .collection-facts { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1rem; margin: 1.5rem 0; }
|
| 190 |
+
.gradio-container .collection-facts div { padding: 1rem; border: 1px solid var(--kk-deep); border-radius: 8px; background: var(--kk-void); }
|
| 191 |
+
.gradio-container .collection-facts dt { color: var(--kk-lavender); font: .7rem Consolas,monospace; text-transform: uppercase; }
|
| 192 |
+
.gradio-container .collection-facts dd { margin: .4rem 0 0; font-weight: 750; }
|
| 193 |
+
.gradio-container .truth-banner { margin-top: 1.5rem; padding: 1rem; border: 1px solid var(--kk-deep); border-radius: 8px; font: .7rem/1.7 Consolas,monospace; color: var(--kk-lavender); }
|
| 194 |
+
.gradio-container .lab-footer, .gradio-container .neko-links {
|
| 195 |
+
padding-block: 2rem; border-top: 1px solid var(--kk-deep); background: var(--kk-void);
|
| 196 |
+
}
|
| 197 |
+
.gradio-container .footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font: .7rem/1.8 Consolas,monospace; color: var(--kk-lavender); }
|
| 198 |
+
.gradio-container .neko-links ul { display: flex; flex-wrap: wrap; gap: 1rem 2rem; padding: 0; list-style: none; }
|
| 199 |
+
.gradio-container .neko-links a { font-size: .9rem; }
|
| 200 |
+
.gradio-container button.primary { min-height: 46px; border-radius: 8px !important; font-weight: 750 !important; }
|
| 201 |
+
.gradio-container .cm-editor, .gradio-container .cm-gutters { background: var(--kk-void) !important; color: var(--kk-lavender) !important; }
|
| 202 |
+
.gradio-container .cm-content, .gradio-container .cm-content span { color: var(--kk-mist) !important; }
|
| 203 |
+
.gradio-container .cm-scroller { max-height: 440px !important; overflow: auto !important; font-size: 13px !important; }
|
| 204 |
+
.gradio-container .json-holder, .gradio-container .json-holder * { color: var(--kk-lavender) !important; background-color: var(--kk-void) !important; }
|
| 205 |
+
.gradio-container .block label, .gradio-container .block .label { color: var(--kk-lavender) !important; }
|
| 206 |
@media (max-width: 800px) {
|
| 207 |
+
.lab-hero, .neko-hero { grid-template-columns: 1fr; gap: 2rem; }
|
| 208 |
+
.hero-console { max-width: 420px; width: 100%; }
|
| 209 |
+
.console-mark { min-height: 90px; font-size: 3rem; }
|
| 210 |
+
.lab-nav { align-items: flex-start; flex-direction: column; gap: 1rem; }
|
| 211 |
+
}
|
| 212 |
+
@media (max-width: 560px) {
|
| 213 |
+
.lab-shell, .neko-shell,
|
| 214 |
+
.explorer-wrap, .demo-wrap { width: calc(100% - 2rem) !important; }
|
| 215 |
+
.portfolio-grid, .principle-grid,
|
| 216 |
+
.collection-grid, .collection-facts { grid-template-columns: 1fr; }
|
| 217 |
+
.explorer-panel, .demo-panel { padding: 1rem !important; min-width: 0 !important; }
|
| 218 |
+
.project-detail, .collection-detail { padding: 1.25rem; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 219 |
}
|
|
|
|
| 220 |
@media (prefers-reduced-motion: reduce) {
|
| 221 |
+
*, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 222 |
}
|
| 223 |
"""
|
| 224 |
|
| 225 |
HERO = """
|
| 226 |
<header class="lab-header">
|
| 227 |
<div class="lab-shell lab-nav">
|
| 228 |
+
<a class="lab-brand" href="https://krazykitty.dev/" target="_blank" rel="noreferrer">KRAZYKITTY // NEURAL LAB</a>
|
| 229 |
+
<nav aria-label="Research navigation"><a href="#portfolio">PORTFOLIO</a><a href="#project-explorer">EXPLORE</a><a href="#readiness">READINESS</a><a href="https://huggingface.co/spaces/KrazyKitty/KittyLM-Research" target="_blank" rel="noreferrer">KITTYLM ↗</a></nav>
|
| 230 |
</div>
|
| 231 |
</header>
|
| 232 |
<main>
|
|
|
|
| 235 |
<span class="lab-kicker">Ultraviolet research interface</span>
|
| 236 |
<h1 id="lab-title">NEURAL<span>LAB</span></h1>
|
| 237 |
<p class="lab-lede">A navigable map of KrazyKitty's language-model, dataset, and agent-systems research—built around provenance, reproducibility, and honest evidence boundaries.</p>
|
| 238 |
+
<div class="hero-actions"><a class="project-link" href="#project-explorer">Explore the research ↓</a><a class="project-link secondary" href="https://krazykitty.dev/#about" target="_blank" rel="noreferrer">Meet KrazyKitty ↗</a></div>
|
| 239 |
</div>
|
| 240 |
<aside class="hero-console" aria-label="Dashboard state">
|
| 241 |
<div class="console-mark">K<span>//</span>K</div>
|
|
|
|
| 247 |
</div>
|
| 248 |
</aside>
|
| 249 |
</section>
|
| 250 |
+
<section class="lab-section" id="portfolio">
|
| 251 |
<div class="lab-shell">
|
| 252 |
<span class="section-kicker">01 // Portfolio map</span>
|
| 253 |
<h2>One lab. Distinct research boundaries.</h2>
|
|
|
|
| 303 |
|
| 304 |
|
| 305 |
with gr.Blocks(title="KRAZYKITTY // NEURAL LAB") as demo:
|
| 306 |
+
gr.HTML(HERO, container=False, apply_default_css=False)
|
| 307 |
+
with gr.Row(elem_id="project-explorer", elem_classes=["explorer-wrap"]):
|
| 308 |
with gr.Column(scale=1, min_width=260, elem_classes=["explorer-panel"]):
|
| 309 |
gr.Markdown(
|
| 310 |
"## 02 // Project explorer\nChoose a research node. Status labels are evidence states, not live service indicators."
|
|
|
|
| 317 |
interactive=True,
|
| 318 |
)
|
| 319 |
with gr.Column(scale=2, min_width=320):
|
| 320 |
+
project_detail = gr.HTML(render_project("KittyLM"), container=False, apply_default_css=False)
|
| 321 |
project_picker.change(
|
| 322 |
render_project,
|
| 323 |
inputs=project_picker,
|
| 324 |
outputs=project_detail,
|
| 325 |
api_visibility="private",
|
| 326 |
)
|
| 327 |
+
with gr.Row(elem_id="collection-explorer", elem_classes=["explorer-wrap"]):
|
| 328 |
with gr.Column(scale=1, min_width=260, elem_classes=["explorer-panel"]):
|
| 329 |
gr.Markdown(
|
| 330 |
"## 03 // Collection explorer\nReview the scope and first-party research node for each public Collection."
|
|
|
|
| 338 |
)
|
| 339 |
with gr.Column(scale=2, min_width=320):
|
| 340 |
collection_detail = gr.HTML(
|
| 341 |
+
render_collection("Transformer Foundations"), container=False, apply_default_css=False
|
| 342 |
)
|
| 343 |
collection_picker.change(
|
| 344 |
render_collection,
|
|
|
|
| 346 |
outputs=collection_detail,
|
| 347 |
api_visibility="private",
|
| 348 |
)
|
| 349 |
+
with gr.Row(elem_id="readiness", elem_classes=["explorer-wrap"]):
|
| 350 |
with gr.Column(scale=1, min_width=300, elem_classes=["explorer-panel"]):
|
| 351 |
gr.Markdown(
|
| 352 |
"## 04 // Research-readiness check\nA transparent documentation checklist—not a model, safety certification, or publication decision."
|
|
|
|
| 380 |
outputs=readiness_result,
|
| 381 |
api_visibility="private",
|
| 382 |
)
|
| 383 |
+
gr.HTML(LOWER_SECTIONS, container=False, apply_default_css=False)
|
| 384 |
|
| 385 |
|
| 386 |
if __name__ == "__main__":
|
| 387 |
+
demo.launch(css=CSS, footer_links=[])
|
| 388 |
|
| 389 |
|