Update app.py
Browse files
app.py
CHANGED
|
@@ -413,6 +413,7 @@ css = """
|
|
| 413 |
* { font-family: 'Inter', sans-serif !important; }
|
| 414 |
.gradio-container { max-width: 1200px !important; margin: 0 auto !important; background: #0a0f1e !important; }
|
| 415 |
.generating, .progress-text, .progress-bar-wrap, .eta-bar, .eta-text, footer { display: none !important; }
|
|
|
|
| 416 |
#app-header { background: linear-gradient(135deg,#0f172a 0%,#1e1b4b 50%,#0f172a 100%); border-bottom: 1px solid rgba(99,102,241,0.2); padding: 24px 32px 20px; position: relative; overflow: hidden; }
|
| 417 |
#app-header::before { content:''; position:absolute; top:-50%; right:-10%; width:400px; height:400px; background: radial-gradient(circle,rgba(99,102,241,0.12) 0%,transparent 70%); pointer-events:none; }
|
| 418 |
#run-btn button { background: linear-gradient(135deg,#6366f1,#8b5cf6) !important; border: none !important; border-radius: 10px !important; font-weight: 600 !important; font-size: 0.95rem !important; letter-spacing: 0.02em !important; padding: 14px 28px !important; box-shadow: 0 4px 20px rgba(99,102,241,0.35) !important; transition: all 0.2s !important; }
|
|
@@ -442,7 +443,7 @@ input[type=range] { accent-color: #6366f1 !important; }
|
|
| 442 |
overlay_js = """
|
| 443 |
() => {
|
| 444 |
const div = document.createElement('div'); div.id = 'surgi-overlay';
|
| 445 |
-
div.innerHTML = '<div class="or-ring"></div><div class="or-text">Analysing Surgical Frame</div><div class="or-sub">
|
| 446 |
document.body.appendChild(div);
|
| 447 |
function attachBtn() {
|
| 448 |
const btn = document.querySelector('#run-btn button');
|
|
|
|
| 413 |
* { font-family: 'Inter', sans-serif !important; }
|
| 414 |
.gradio-container { max-width: 1200px !important; margin: 0 auto !important; background: #0a0f1e !important; }
|
| 415 |
.generating, .progress-text, .progress-bar-wrap, .eta-bar, .eta-text, footer { display: none !important; }
|
| 416 |
+
.gradio-row { align-items: flex-start !important; }
|
| 417 |
#app-header { background: linear-gradient(135deg,#0f172a 0%,#1e1b4b 50%,#0f172a 100%); border-bottom: 1px solid rgba(99,102,241,0.2); padding: 24px 32px 20px; position: relative; overflow: hidden; }
|
| 418 |
#app-header::before { content:''; position:absolute; top:-50%; right:-10%; width:400px; height:400px; background: radial-gradient(circle,rgba(99,102,241,0.12) 0%,transparent 70%); pointer-events:none; }
|
| 419 |
#run-btn button { background: linear-gradient(135deg,#6366f1,#8b5cf6) !important; border: none !important; border-radius: 10px !important; font-weight: 600 !important; font-size: 0.95rem !important; letter-spacing: 0.02em !important; padding: 14px 28px !important; box-shadow: 0 4px 20px rgba(99,102,241,0.35) !important; transition: all 0.2s !important; }
|
|
|
|
| 443 |
overlay_js = """
|
| 444 |
() => {
|
| 445 |
const div = document.createElement('div'); div.id = 'surgi-overlay';
|
| 446 |
+
div.innerHTML = '<div class="or-ring"></div><div class="or-text">Analysing Surgical Frame</div><div class="or-sub">YOLOv26n 路 Modal GPU 路 Llama 3.1</div>';
|
| 447 |
document.body.appendChild(div);
|
| 448 |
function attachBtn() {
|
| 449 |
const btn = document.querySelector('#run-btn button');
|