Commit ·
643966b
1
Parent(s): 6e9f653
Refine UI tone and theme for professional appearance
Browse files
app.py
CHANGED
|
@@ -42,11 +42,11 @@ body {
|
|
| 42 |
}
|
| 43 |
|
| 44 |
.hero-banner {
|
| 45 |
-
border-radius:
|
| 46 |
padding: 2.3rem;
|
| 47 |
-
background: linear-gradient(135deg, #
|
| 48 |
color: #f8fafc;
|
| 49 |
-
box-shadow: 0
|
| 50 |
margin-bottom: 1.5rem;
|
| 51 |
}
|
| 52 |
|
|
@@ -58,8 +58,8 @@ body {
|
|
| 58 |
|
| 59 |
.hero-banner h1 {
|
| 60 |
margin: 0;
|
| 61 |
-
font-size: clamp(2.
|
| 62 |
-
line-height: 1.
|
| 63 |
}
|
| 64 |
|
| 65 |
.hero-banner p {
|
|
@@ -83,23 +83,24 @@ body {
|
|
| 83 |
|
| 84 |
.panel-card,
|
| 85 |
.dashboard-card {
|
| 86 |
-
border-radius:
|
| 87 |
-
background: #
|
| 88 |
-
border: 1px solid rgba(148,163,184,0.
|
| 89 |
-
box-shadow: 0
|
| 90 |
padding: 1.75rem;
|
| 91 |
color: #0f172a;
|
| 92 |
}
|
| 93 |
|
| 94 |
.panel-card {
|
| 95 |
-
margin-bottom: 1.
|
| 96 |
}
|
| 97 |
|
| 98 |
.panel-card h3,
|
| 99 |
.dashboard-card h3 {
|
| 100 |
margin-top: 0;
|
| 101 |
-
font-size: 1.
|
| 102 |
letter-spacing: -0.02em;
|
|
|
|
| 103 |
}
|
| 104 |
|
| 105 |
.panel-card p,
|
|
@@ -108,7 +109,7 @@ body {
|
|
| 108 |
.dashboard-card li,
|
| 109 |
.gradio-container .gr-markdown,
|
| 110 |
.gradio-container .gr-html {
|
| 111 |
-
color: #
|
| 112 |
line-height: 1.7;
|
| 113 |
}
|
| 114 |
|
|
@@ -425,14 +426,14 @@ with gr.Blocks(theme=gr.themes.Default(primary_hue="indigo", font=[gr.themes.Goo
|
|
| 425 |
gr.HTML("""
|
| 426 |
<div class='hero-banner'>
|
| 427 |
<div style='max-width: 980px;'>
|
| 428 |
-
<div
|
| 429 |
<h1>Modular Model Composition Explorer</h1>
|
| 430 |
<p>Compare base model architectures and adapters, identify compatibility gaps, and evaluate memory requirements with a clean, professional interface.</p>
|
| 431 |
-
<div style='display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem;'>
|
| 432 |
-
<span
|
| 433 |
-
<span
|
| 434 |
-
<span
|
| 435 |
-
<span
|
| 436 |
</div>
|
| 437 |
</div>
|
| 438 |
</div>
|
|
|
|
| 42 |
}
|
| 43 |
|
| 44 |
.hero-banner {
|
| 45 |
+
border-radius: 20px;
|
| 46 |
padding: 2.3rem;
|
| 47 |
+
background: linear-gradient(135deg, #1f2937 0%, #334155 100%);
|
| 48 |
color: #f8fafc;
|
| 49 |
+
box-shadow: 0 20px 48px rgba(15, 23, 42, 0.16);
|
| 50 |
margin-bottom: 1.5rem;
|
| 51 |
}
|
| 52 |
|
|
|
|
| 58 |
|
| 59 |
.hero-banner h1 {
|
| 60 |
margin: 0;
|
| 61 |
+
font-size: clamp(2rem, 2.5vw, 3.2rem);
|
| 62 |
+
line-height: 1.08;
|
| 63 |
}
|
| 64 |
|
| 65 |
.hero-banner p {
|
|
|
|
| 83 |
|
| 84 |
.panel-card,
|
| 85 |
.dashboard-card {
|
| 86 |
+
border-radius: 18px;
|
| 87 |
+
background: #f8fafc;
|
| 88 |
+
border: 1px solid rgba(148,163,184,0.22);
|
| 89 |
+
box-shadow: 0 16px 40px rgba(15,23,42,0.08);
|
| 90 |
padding: 1.75rem;
|
| 91 |
color: #0f172a;
|
| 92 |
}
|
| 93 |
|
| 94 |
.panel-card {
|
| 95 |
+
margin-bottom: 1.25rem;
|
| 96 |
}
|
| 97 |
|
| 98 |
.panel-card h3,
|
| 99 |
.dashboard-card h3 {
|
| 100 |
margin-top: 0;
|
| 101 |
+
font-size: 1.28rem;
|
| 102 |
letter-spacing: -0.02em;
|
| 103 |
+
color: #111827 !important;
|
| 104 |
}
|
| 105 |
|
| 106 |
.panel-card p,
|
|
|
|
| 109 |
.dashboard-card li,
|
| 110 |
.gradio-container .gr-markdown,
|
| 111 |
.gradio-container .gr-html {
|
| 112 |
+
color: #1f2937 !important;
|
| 113 |
line-height: 1.7;
|
| 114 |
}
|
| 115 |
|
|
|
|
| 426 |
gr.HTML("""
|
| 427 |
<div class='hero-banner'>
|
| 428 |
<div style='max-width: 980px;'>
|
| 429 |
+
<div style='margin-bottom: 0.8rem; color: rgba(248,250,252,0.88); font-size: 0.95rem; font-weight: 600;'>Architecture profiling for modular model deployments</div>
|
| 430 |
<h1>Modular Model Composition Explorer</h1>
|
| 431 |
<p>Compare base model architectures and adapters, identify compatibility gaps, and evaluate memory requirements with a clean, professional interface.</p>
|
| 432 |
+
<div style='display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; color: rgba(248,250,252,0.85); font-size: 0.94rem;'>
|
| 433 |
+
<span>HF Hub compatible</span>
|
| 434 |
+
<span>PEFT-aware analysis</span>
|
| 435 |
+
<span>Memory planning</span>
|
| 436 |
+
<span>Deployment-ready metrics</span>
|
| 437 |
</div>
|
| 438 |
</div>
|
| 439 |
</div>
|