Upload server.py
Browse files43 unmodified lines4445464748495018 unmodified lines69707172737475769 unmodified lines868788899091929394959697985 unmodified lines10410510610710810911012 unmodified lines12312412512612712812913013113213313413513629 unmodified lines166167168169170171172173174175176177220 unmodified lines39839940040140240343 unmodified lines--glass-bg:rgba(255,255,255,.03);--glass-border:rgba(255,255,255,.06);--purple:#8B5CF6;--cyan:#06B6D4;--green:#10B981;--gold:#F59E0B;--text:#e0e0ff;--text2:#9090b0;--text3:#606080;--bg1:#0a0a1a;--bg2:#1a0a2e;--radius:20px;--radius-sm:12px;--font:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif;}*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}18 unmodified lines-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;}h1{font-size:clamp(2rem,6vw,4rem);font-weight:800;line-height:1.1}p{color:var(--text2);margin-top:1rem;font-size:1.1rem}.loading-bar{width:240px;height:4px;background:var(--glass-bg);border-radius:2px;margin:1.5rem auto 0;overflow:hidden;9 unmodified lines.status-dot.gold{background:var(--gold);box-shadow:0 0 8px var(--gold)}.pulse{animation:pulse 2s ease-in-out infinite}@keyframes pulse{0%,100%{opacity:1}50%{opacity:.3}}/* Wizard hat SVG */.wizard-svg{filter:drop-shadow(0 0 20px rgba(139,92,246,.6));margin-bottom:1.5rem}.wizard-svg path{animation:morphColors 8s linear infinite}@keyframes morphColors{0%,100%{fill:url(#hg)}}</style><script>// Poll for engine readiness every 500mslet pollTimer;function checkReady(){fetch('/api/health').then(r=>r.json()).then(d=>{5 unmodified lines}pollTimer=setInterval(checkReady,500);document.addEventListener('DOMContentLoaded',()=>{document.getElementById('status-text').textContent='Waking the Athanorβ¦';});</script></head>12 unmodified lines<animate attributeName="rx" values="26;28;26" dur="3s" repeatCount="indefinite"/></ellipse></svg><h1 class="gradient-text">Omni-Vibe Studio</h1><p>Specialized Swarm β Pose Architect Β· Painter Β· Auditor</p><div class="loading-bar"></div><p style="font-size:.85rem;color:var(--text3);margin-top:1rem"><span class="status-dot gold pulse"></span><span id="status-text">Initializing LiteRT engineβ¦</span></p><p style="font-size:.7rem;color:var(--text3);margin-top:1.5rem">0.0.0.0:7860 Β· Steady Gold</p></div></body></html>"""29 unmodified lines"""A2A agent card β static, no imports needed."""return web.json_response({"name": "omni-vibe-studio","description": "Omni-Vibe Studio β Specialized AI Swarm. 0.0.0.0:7860. LiteRT engine.","url": "https://dryymatt-wizard-vibe-studio-v2.hf.space","provider": {"organization": "Omni-Vibe Studio β Litehat System","url": "https://huggingface.co/dryymatt"},"version": "3.0.0","capabilities": {"streaming": True, "ghostDeploy": True, "liquidGlass": True},})220 unmodified linesprint(f" Loading HTML : served before engine import")print(f" Registry : {CANONICAL_REPO}")print(f" Hat : {WIZARD_HAT_COLOR}")# βββ Start the aiohttp server FIRST βββ# At this point, no core.py has been imported.43 unmodified lines4445464748495018 unmodified lines69707172737475769 unmodified lines8687888990919293945 unmodified lines10010110210310410510612 unmodified lines11912012112212312412512612712812913013113229 unmodified lines162163164165166167168169170171172173220 unmodified lines39439539639739839940043 unmodified lines--glass-bg:rgba(255,255,255,.03);--glass-border:rgba(255,255,255,.06);--purple:#8B5CF6;--cyan:#06B6D4;--green:#10B981;--gold:#F59E0B;--text:#e0e0ff;--text2:#9090b0;--text3:#606080;--bg1:#0a0a1a;--bg2:#1a0a2e;--radius:24px;--font:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif;}*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}18 unmodified lines-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;}h1{font-size:clamp(1.8rem,6vw,2.8rem);font-weight:800;line-height:1.15}.hero-sub{color:var(--text2);font-size:1rem;font-weight:400;margin-top:.4rem}.loading-bar{width:240px;height:4px;background:var(--glass-bg);border-radius:2px;margin:1.5rem auto 0;overflow:hidden;9 unmodified lines.status-dot.gold{background:var(--gold);box-shadow:0 0 8px var(--gold)}.pulse{animation:pulse 2s ease-in-out infinite}@keyframes pulse{0%,100%{opacity:1}50%{opacity:.3}}.wizard-svg{filter:drop-shadow(0 0 20px rgba(139,92,246,.6));margin-bottom:1.5rem}</style><script>let pollTimer;function checkReady(){fetch('/api/health').then(r=>r.json()).then(d=>{5 unmodified lines}pollTimer=setInterval(checkReady,500);document.addEventListener('DOMContentLoaded',()=>{document.getElementById('status-text').textContent='Waking the Athanor\u2026';});</script></head>12 unmodified lines<animate attributeName="rx" values="26;28;26" dur="3s" repeatCount="indefinite"/></ellipse></svg><h1 class="gradient-text">Build anything.</h1><p class="hero-sub">Simple. Beautiful. Easy to use.</p><div class="loading-bar"></div><p style="font-size:.85rem;color:var(--text3);margin-top:1rem"><span class="status-dot gold pulse"></span><span id="status-text">Initializing LiteRT engine\u2026</span></p><p style="font-size:.7rem;color:var(--text3);margin-top:1.5rem">0.0.0.0:7860 \u00b7 Steady Gold</p></div></body></html>"""29 unmodified lines"""A2A agent card β static, no imports needed."""return web.json_response({"name": "omni-vibe-studio","description": "Omni-Vibe Studio β Specialized AI Swarm. 0.0.0.0:7860. LiteRT engine. Build anything. Simple. Beautiful. Easy to use.","url": "https://dryymatt-wizard-vibe-studio-v2.hf.space","provider": {"organization": "Omni-Vibe Studio β Litehat System","url": "https://huggingface.co/dryymatt"},"version": "3.1.0","capabilities": {"streaming": True, "ghostDeploy": True, "liquidGlass": True, "tabbedInterface": True},})220 unmodified linesprint(f" Loading HTML : served before engine import")print(f" Registry : {CANONICAL_REPO}")print(f" Hat : {WIZARD_HAT_COLOR}")print(f" Brand : 'Build anything. Simple. Beautiful. Easy to use.'")# βββ Start the aiohttp server FIRST βββ# At this point, no core.py has been imported.
server.py+12-15