Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -182,9 +182,9 @@ body, .gradio-container {
|
|
| 182 |
}
|
| 183 |
|
| 184 |
.gradio-container {
|
| 185 |
-
max-width:
|
| 186 |
margin: 0 auto !important;
|
| 187 |
-
padding: 40px
|
| 188 |
}
|
| 189 |
|
| 190 |
/* ── HEADER ── */
|
|
@@ -203,12 +203,12 @@ body, .gradio-container {
|
|
| 203 |
}
|
| 204 |
|
| 205 |
.lumi-icon-wrap {
|
| 206 |
-
width:
|
| 207 |
background: var(--surface2);
|
| 208 |
border: 1px solid var(--border2);
|
| 209 |
-
border-radius:
|
| 210 |
display: flex; align-items: center; justify-content: center;
|
| 211 |
-
font-size:
|
| 212 |
flex-shrink: 0;
|
| 213 |
position: relative;
|
| 214 |
overflow: hidden;
|
|
@@ -220,14 +220,14 @@ body, .gradio-container {
|
|
| 220 |
}
|
| 221 |
|
| 222 |
.lumi-header-text h1 {
|
| 223 |
-
font-size:
|
| 224 |
font-weight: 600;
|
| 225 |
color: var(--text);
|
| 226 |
letter-spacing: -0.2px;
|
| 227 |
line-height: 1.3;
|
| 228 |
}
|
| 229 |
.lumi-header-text p {
|
| 230 |
-
font-size:
|
| 231 |
color: var(--text3);
|
| 232 |
margin-top: 3px;
|
| 233 |
font-weight: 400;
|
|
@@ -247,19 +247,19 @@ body, .gradio-container {
|
|
| 247 |
flex: 1;
|
| 248 |
}
|
| 249 |
.lumi-prog-dot {
|
| 250 |
-
width:
|
| 251 |
border-radius: 50%;
|
| 252 |
background: var(--surface2);
|
| 253 |
border: 1px solid var(--border);
|
| 254 |
display: flex; align-items: center; justify-content: center;
|
| 255 |
-
font-size:
|
| 256 |
font-weight: 600;
|
| 257 |
color: var(--text3);
|
| 258 |
font-family: var(--mono);
|
| 259 |
flex-shrink: 0;
|
| 260 |
}
|
| 261 |
.lumi-prog-info { flex: 1; }
|
| 262 |
-
.lumi-prog-title { font-size:
|
| 263 |
.lumi-prog-line { height: 1px; background: var(--border); width: 24px; flex-shrink: 0; margin: 0 4px; }
|
| 264 |
|
| 265 |
/* ── INSTRUCTION BOX ── */
|
|
@@ -267,21 +267,21 @@ body, .gradio-container {
|
|
| 267 |
background: var(--surface);
|
| 268 |
border: 1px solid var(--border);
|
| 269 |
border-radius: 12px;
|
| 270 |
-
padding:
|
| 271 |
-
margin-bottom:
|
| 272 |
display: flex;
|
| 273 |
gap: 14px;
|
| 274 |
align-items: flex-start;
|
| 275 |
}
|
| 276 |
.lumi-guide-icon {
|
| 277 |
-
font-size:
|
| 278 |
margin-top: 1px;
|
| 279 |
flex-shrink: 0;
|
| 280 |
opacity: 0.8;
|
| 281 |
}
|
| 282 |
.lumi-guide-body { flex: 1; }
|
| 283 |
.lumi-guide-title {
|
| 284 |
-
font-size:
|
| 285 |
font-weight: 600;
|
| 286 |
color: var(--text3);
|
| 287 |
text-transform: uppercase;
|
|
@@ -291,19 +291,19 @@ body, .gradio-container {
|
|
| 291 |
.lumi-guide-steps {
|
| 292 |
display: flex;
|
| 293 |
flex-direction: column;
|
| 294 |
-
gap:
|
| 295 |
}
|
| 296 |
.lumi-guide-step {
|
| 297 |
display: flex;
|
| 298 |
align-items: baseline;
|
| 299 |
gap: 8px;
|
| 300 |
-
font-size:
|
| 301 |
color: var(--text2);
|
| 302 |
line-height: 1.5;
|
| 303 |
}
|
| 304 |
.lumi-guide-num {
|
| 305 |
font-family: var(--mono);
|
| 306 |
-
font-size:
|
| 307 |
color: var(--accent);
|
| 308 |
background: rgba(59,126,244,0.08);
|
| 309 |
border: 1px solid rgba(59,126,244,0.2);
|
|
@@ -331,12 +331,12 @@ body, .gradio-container {
|
|
| 331 |
display: flex;
|
| 332 |
align-items: center;
|
| 333 |
gap: 8px;
|
| 334 |
-
font-size:
|
| 335 |
color: var(--text2);
|
| 336 |
background: rgba(59,126,244,0.05);
|
| 337 |
border: 1px solid rgba(59,126,244,0.12);
|
| 338 |
border-radius: 7px;
|
| 339 |
-
padding:
|
| 340 |
line-height: 1.4;
|
| 341 |
}
|
| 342 |
.lumi-tip b {
|
|
@@ -344,7 +344,7 @@ body, .gradio-container {
|
|
| 344 |
font-weight: 600;
|
| 345 |
}
|
| 346 |
.tip-icon {
|
| 347 |
-
font-size:
|
| 348 |
flex-shrink: 0;
|
| 349 |
}
|
| 350 |
|
|
@@ -353,8 +353,8 @@ body, .gradio-container {
|
|
| 353 |
background: linear-gradient(145deg, #1e2d5a 0%, #162447 50%, #1a3060 100%);
|
| 354 |
border: 1px solid rgba(99,140,255,0.25);
|
| 355 |
border-radius: 20px;
|
| 356 |
-
padding:
|
| 357 |
-
margin-bottom:
|
| 358 |
box-shadow: 0 8px 32px rgba(30,45,90,0.18), inset 0 1px 0 rgba(255,255,255,0.06);
|
| 359 |
position: relative;
|
| 360 |
overflow: hidden;
|
|
@@ -389,13 +389,13 @@ body, .gradio-container {
|
|
| 389 |
|
| 390 |
/* Mic button */
|
| 391 |
#lumi-mic-btn {
|
| 392 |
-
width:
|
| 393 |
border-radius: 50%;
|
| 394 |
background: rgba(255,255,255,0.09);
|
| 395 |
border: 1.5px solid rgba(255,255,255,0.18);
|
| 396 |
cursor: pointer;
|
| 397 |
display: flex; align-items: center; justify-content: center;
|
| 398 |
-
font-size:
|
| 399 |
outline: none;
|
| 400 |
transition: all 0.2s cubic-bezier(.4,0,.2,1);
|
| 401 |
position: relative;
|
|
@@ -430,7 +430,7 @@ body, .gradio-container {
|
|
| 430 |
|
| 431 |
/* Rec label */
|
| 432 |
#lumi-rec-label {
|
| 433 |
-
font-size:
|
| 434 |
color: rgba(255,255,255,0.45);
|
| 435 |
font-weight: 500;
|
| 436 |
letter-spacing: 0.3px;
|
|
@@ -443,8 +443,8 @@ body, .gradio-container {
|
|
| 443 |
/* Canvas */
|
| 444 |
#lumi-canvas {
|
| 445 |
width: 100%;
|
| 446 |
-
height:
|
| 447 |
-
border-radius:
|
| 448 |
background: rgba(0,0,0,0.22);
|
| 449 |
border: 1px solid rgba(255,255,255,0.07);
|
| 450 |
display: block;
|
|
@@ -456,7 +456,7 @@ body, .gradio-container {
|
|
| 456 |
width: 100%;
|
| 457 |
}
|
| 458 |
#lumi-proc-bar .p-label {
|
| 459 |
-
font-size:
|
| 460 |
font-family: var(--mono);
|
| 461 |
color: rgba(255,255,255,0.4);
|
| 462 |
margin-bottom: 6px;
|
|
@@ -495,7 +495,7 @@ body, .gradio-container {
|
|
| 495 |
gap: 6px;
|
| 496 |
}
|
| 497 |
#lumi-audio-playback .play-label {
|
| 498 |
-
font-size:
|
| 499 |
font-family: var(--mono);
|
| 500 |
color: rgba(255,255,255,0.35);
|
| 501 |
letter-spacing: 0.3px;
|
|
@@ -515,13 +515,13 @@ body, .gradio-container {
|
|
| 515 |
border-radius: 10px !important;
|
| 516 |
padding: 12px 16px !important;
|
| 517 |
color: var(--text2) !important;
|
| 518 |
-
font-size:
|
| 519 |
font-weight: 500 !important;
|
| 520 |
-
min-height:
|
| 521 |
font-family: var(--mono) !important;
|
| 522 |
}
|
| 523 |
.lumi-status .output-class {
|
| 524 |
-
font-size:
|
| 525 |
color: var(--text2) !important;
|
| 526 |
font-family: var(--mono) !important;
|
| 527 |
}
|
|
@@ -538,8 +538,8 @@ button.lb-check, button.lb-reset, button.lb-send {
|
|
| 538 |
border-radius: 8px !important;
|
| 539 |
font-family: 'DM Sans', sans-serif !important;
|
| 540 |
font-weight: 500 !important;
|
| 541 |
-
font-size:
|
| 542 |
-
padding:
|
| 543 |
border: none !important;
|
| 544 |
cursor: pointer !important;
|
| 545 |
transition: all 0.18s ease !important;
|
|
|
|
| 182 |
}
|
| 183 |
|
| 184 |
.gradio-container {
|
| 185 |
+
max-width: 900px !important;
|
| 186 |
margin: 0 auto !important;
|
| 187 |
+
padding: 40px 40px 80px !important;
|
| 188 |
}
|
| 189 |
|
| 190 |
/* ── HEADER ── */
|
|
|
|
| 203 |
}
|
| 204 |
|
| 205 |
.lumi-icon-wrap {
|
| 206 |
+
width: 72px; height: 72px;
|
| 207 |
background: var(--surface2);
|
| 208 |
border: 1px solid var(--border2);
|
| 209 |
+
border-radius: 18px;
|
| 210 |
display: flex; align-items: center; justify-content: center;
|
| 211 |
+
font-size: 44px;
|
| 212 |
flex-shrink: 0;
|
| 213 |
position: relative;
|
| 214 |
overflow: hidden;
|
|
|
|
| 220 |
}
|
| 221 |
|
| 222 |
.lumi-header-text h1 {
|
| 223 |
+
font-size: 34px;
|
| 224 |
font-weight: 600;
|
| 225 |
color: var(--text);
|
| 226 |
letter-spacing: -0.2px;
|
| 227 |
line-height: 1.3;
|
| 228 |
}
|
| 229 |
.lumi-header-text p {
|
| 230 |
+
font-size: 25px;
|
| 231 |
color: var(--text3);
|
| 232 |
margin-top: 3px;
|
| 233 |
font-weight: 400;
|
|
|
|
| 247 |
flex: 1;
|
| 248 |
}
|
| 249 |
.lumi-prog-dot {
|
| 250 |
+
width: 44px; height: 44px;
|
| 251 |
border-radius: 50%;
|
| 252 |
background: var(--surface2);
|
| 253 |
border: 1px solid var(--border);
|
| 254 |
display: flex; align-items: center; justify-content: center;
|
| 255 |
+
font-size: 22px;
|
| 256 |
font-weight: 600;
|
| 257 |
color: var(--text3);
|
| 258 |
font-family: var(--mono);
|
| 259 |
flex-shrink: 0;
|
| 260 |
}
|
| 261 |
.lumi-prog-info { flex: 1; }
|
| 262 |
+
.lumi-prog-title { font-size: 22px; font-weight: 600; color: var(--text3); letter-spacing: 0.3px; }
|
| 263 |
.lumi-prog-line { height: 1px; background: var(--border); width: 24px; flex-shrink: 0; margin: 0 4px; }
|
| 264 |
|
| 265 |
/* ── INSTRUCTION BOX ── */
|
|
|
|
| 267 |
background: var(--surface);
|
| 268 |
border: 1px solid var(--border);
|
| 269 |
border-radius: 12px;
|
| 270 |
+
padding: 24px 28px;
|
| 271 |
+
margin-bottom: 24px;
|
| 272 |
display: flex;
|
| 273 |
gap: 14px;
|
| 274 |
align-items: flex-start;
|
| 275 |
}
|
| 276 |
.lumi-guide-icon {
|
| 277 |
+
font-size: 32px;
|
| 278 |
margin-top: 1px;
|
| 279 |
flex-shrink: 0;
|
| 280 |
opacity: 0.8;
|
| 281 |
}
|
| 282 |
.lumi-guide-body { flex: 1; }
|
| 283 |
.lumi-guide-title {
|
| 284 |
+
font-size: 21px;
|
| 285 |
font-weight: 600;
|
| 286 |
color: var(--text3);
|
| 287 |
text-transform: uppercase;
|
|
|
|
| 291 |
.lumi-guide-steps {
|
| 292 |
display: flex;
|
| 293 |
flex-direction: column;
|
| 294 |
+
gap: 10px;
|
| 295 |
}
|
| 296 |
.lumi-guide-step {
|
| 297 |
display: flex;
|
| 298 |
align-items: baseline;
|
| 299 |
gap: 8px;
|
| 300 |
+
font-size: 26px;
|
| 301 |
color: var(--text2);
|
| 302 |
line-height: 1.5;
|
| 303 |
}
|
| 304 |
.lumi-guide-num {
|
| 305 |
font-family: var(--mono);
|
| 306 |
+
font-size: 20px;
|
| 307 |
color: var(--accent);
|
| 308 |
background: rgba(59,126,244,0.08);
|
| 309 |
border: 1px solid rgba(59,126,244,0.2);
|
|
|
|
| 331 |
display: flex;
|
| 332 |
align-items: center;
|
| 333 |
gap: 8px;
|
| 334 |
+
font-size: 25px;
|
| 335 |
color: var(--text2);
|
| 336 |
background: rgba(59,126,244,0.05);
|
| 337 |
border: 1px solid rgba(59,126,244,0.12);
|
| 338 |
border-radius: 7px;
|
| 339 |
+
padding: 11px 14px;
|
| 340 |
line-height: 1.4;
|
| 341 |
}
|
| 342 |
.lumi-tip b {
|
|
|
|
| 344 |
font-weight: 600;
|
| 345 |
}
|
| 346 |
.tip-icon {
|
| 347 |
+
font-size: 28px;
|
| 348 |
flex-shrink: 0;
|
| 349 |
}
|
| 350 |
|
|
|
|
| 353 |
background: linear-gradient(145deg, #1e2d5a 0%, #162447 50%, #1a3060 100%);
|
| 354 |
border: 1px solid rgba(99,140,255,0.25);
|
| 355 |
border-radius: 20px;
|
| 356 |
+
padding: 40px 36px;
|
| 357 |
+
margin-bottom: 20px;
|
| 358 |
box-shadow: 0 8px 32px rgba(30,45,90,0.18), inset 0 1px 0 rgba(255,255,255,0.06);
|
| 359 |
position: relative;
|
| 360 |
overflow: hidden;
|
|
|
|
| 389 |
|
| 390 |
/* Mic button */
|
| 391 |
#lumi-mic-btn {
|
| 392 |
+
width: 120px; height: 120px;
|
| 393 |
border-radius: 50%;
|
| 394 |
background: rgba(255,255,255,0.09);
|
| 395 |
border: 1.5px solid rgba(255,255,255,0.18);
|
| 396 |
cursor: pointer;
|
| 397 |
display: flex; align-items: center; justify-content: center;
|
| 398 |
+
font-size: 60px;
|
| 399 |
outline: none;
|
| 400 |
transition: all 0.2s cubic-bezier(.4,0,.2,1);
|
| 401 |
position: relative;
|
|
|
|
| 430 |
|
| 431 |
/* Rec label */
|
| 432 |
#lumi-rec-label {
|
| 433 |
+
font-size: 25px;
|
| 434 |
color: rgba(255,255,255,0.45);
|
| 435 |
font-weight: 500;
|
| 436 |
letter-spacing: 0.3px;
|
|
|
|
| 443 |
/* Canvas */
|
| 444 |
#lumi-canvas {
|
| 445 |
width: 100%;
|
| 446 |
+
height: 90px;
|
| 447 |
+
border-radius: 12px;
|
| 448 |
background: rgba(0,0,0,0.22);
|
| 449 |
border: 1px solid rgba(255,255,255,0.07);
|
| 450 |
display: block;
|
|
|
|
| 456 |
width: 100%;
|
| 457 |
}
|
| 458 |
#lumi-proc-bar .p-label {
|
| 459 |
+
font-size: 22px;
|
| 460 |
font-family: var(--mono);
|
| 461 |
color: rgba(255,255,255,0.4);
|
| 462 |
margin-bottom: 6px;
|
|
|
|
| 495 |
gap: 6px;
|
| 496 |
}
|
| 497 |
#lumi-audio-playback .play-label {
|
| 498 |
+
font-size: 22px;
|
| 499 |
font-family: var(--mono);
|
| 500 |
color: rgba(255,255,255,0.35);
|
| 501 |
letter-spacing: 0.3px;
|
|
|
|
| 515 |
border-radius: 10px !important;
|
| 516 |
padding: 12px 16px !important;
|
| 517 |
color: var(--text2) !important;
|
| 518 |
+
font-size: 26px !important;
|
| 519 |
font-weight: 500 !important;
|
| 520 |
+
min-height: 64px !important;
|
| 521 |
font-family: var(--mono) !important;
|
| 522 |
}
|
| 523 |
.lumi-status .output-class {
|
| 524 |
+
font-size: 26px !important;
|
| 525 |
color: var(--text2) !important;
|
| 526 |
font-family: var(--mono) !important;
|
| 527 |
}
|
|
|
|
| 538 |
border-radius: 8px !important;
|
| 539 |
font-family: 'DM Sans', sans-serif !important;
|
| 540 |
font-weight: 500 !important;
|
| 541 |
+
font-size: 26px !important;
|
| 542 |
+
padding: 18px 24px !important;
|
| 543 |
border: none !important;
|
| 544 |
cursor: pointer !important;
|
| 545 |
transition: all 0.18s ease !important;
|