Spaces:
Runtime error
Runtime error
| /* Container */ | |
| .gradio-container { | |
| max-width: 900px ; | |
| margin: 0 auto ; | |
| font-family: "Inter", "Segoe UI", sans-serif ; | |
| background: #0f172a; | |
| color: #f1f5f9; | |
| padding: 20px; | |
| border-radius: 20px; | |
| } | |
| /* Headings */ | |
| h1, h2, h3, .gr-markdown { | |
| color: #e2e8f0 ; | |
| text-align: center ; | |
| } | |
| /* Card blocks */ | |
| #wrap, #ref, #lang, #txt, #spd, #split, #out_audio, #dl { | |
| background: rgba(255, 255, 255, 0.05) ; | |
| border: 1px solid rgba(255,255,255,0.15) ; | |
| border-radius: 16px ; | |
| padding: 16px ; | |
| backdrop-filter: blur(12px); | |
| box-shadow: 0 4px 16px rgba(0,0,0,0.25); | |
| margin-bottom: 16px; | |
| } | |
| /* Special highlight cards */ | |
| #ref, #out_audio { | |
| background: rgba(30, 58, 138, 0.4) ; | |
| } | |
| #dl { | |
| background: rgba(22, 163, 74, 0.3) ; | |
| } | |
| /* Inputs */ | |
| textarea, select, input, .gr-text-input, .gr-textbox { | |
| background: #1e293b ; | |
| border: 1px solid #334155 ; | |
| color: #f1f5f9 ; | |
| border-radius: 10px ; | |
| } | |
| /* Slider */ | |
| input[type="range"] { | |
| accent-color: #38bdf8 ; | |
| } | |
| /* Button styles */ | |
| #gen button { | |
| background: linear-gradient(90deg, #10b981, #06b6d4) ; | |
| border: none ; | |
| color: #fff ; | |
| font-weight: 600 ; | |
| padding: 12px 20px ; | |
| border-radius: 12px ; | |
| transition: all 0.25s ease; | |
| font-size: 16px ; | |
| } | |
| #gen button:hover { | |
| transform: translateY(-1px) scale(1.02); | |
| box-shadow: 0 6px 18px rgba(16,185,129,0.35); | |
| } | |
| /* Download button */ | |
| #dl button { | |
| background: #3b82f6 ; | |
| color: white ; | |
| border-radius: 12px ; | |
| font-weight: 600 ; | |
| } | |
| #dl button:hover { | |
| background: #2563eb ; | |
| } | |
| /* Audio player */ | |
| audio { | |
| width: 100% ; | |
| border-radius: 10px; | |
| background: #1e293b ; | |
| padding: 6px; | |
| } | |
| /* Hide HF/Gradio branding */ | |
| footer, .footer, #footer, | |
| a[href*="gradio.live"], a[href*="gradio.app"], a[href*="/api"], a[href*="hf.space"], | |
| button[aria-label="Settings"], | |
| [data-testid="block-analytics"], [data-testid="embed-info"] { | |
| display: none ; | |
| } | |