KaveriAI-Studio / video.html
shiva123782's picture
Live HF inspector (real model card, files, supported tools); remove teleprompter from public demo
72c4c6c verified
Raw History Blame Contribute Delete
39.8 kB
<!DOCTYPE html>
<html lang="en" class="dark">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Kaveri AI – VAPAE | Verified Pre-Deployment Assurance Engine Demo</title>
<link rel="icon" href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><text y='.9em' font-size='90'>⚡</text></svg>">
<script src="https://cdn.tailwindcss.com"></script>
<script src="https://cdn.jsdelivr.net/npm/mermaid@10/dist/mermaid.min.js"></script>
<script>
tailwind.config = {
darkMode: 'class',
theme: {
extend: {
colors: { brand: '#ff6b00', primary: '#6366f1', darkBg: '#0b0f19' }
}
}
};
mermaid.initialize({ startOnLoad: true, theme: 'dark', securityLevel: 'loose' });
</script>
<style>
html, body { overflow-x: hidden; max-width: 100vw; }
body { background-color: #0b0f19; color: #f8fafc; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; }
.glass-card { background: rgba(17, 24, 39, 0.7); backdrop-filter: blur(16px); border: 1px solid rgba(255, 255, 255, 0.08); }
.glow-orange { box-shadow: 0 0 40px -10px rgba(255, 107, 0, 0.3); }
.glow-indigo { box-shadow: 0 0 40px -10px rgba(99, 102, 241, 0.3); }
.mermaid svg { max-width: 100% !important; height: auto !important; margin: 0 auto; }
</style>
</head>
<body class="min-h-screen flex flex-col justify-between selection:bg-orange-500 selection:text-white overflow-x-hidden">
<!-- Top Header Navigation -->
<header class="border-b border-slate-800/80 bg-slate-900/60 backdrop-blur sticky top-0 z-50">
<div class="max-w-6xl mx-auto px-3 sm:px-4 py-2.5 sm:py-3.5 flex flex-wrap items-center justify-between gap-2">
<div class="flex items-center gap-2 sm:gap-3">
<div class="w-8 h-8 sm:w-9 sm:h-9 rounded-xl bg-gradient-to-tr from-orange-600 to-indigo-600 flex items-center justify-center font-black text-white text-base sm:text-lg shadow-lg shadow-orange-500/20">K</div>
<div>
<div class="flex items-center gap-1.5 sm:gap-2">
<span class="font-extrabold text-white text-sm sm:text-base tracking-tight">Kaveri AI – VAPAE</span>
<span id="headerCutBadge" class="text-[9px] sm:text-[10px] px-1.5 sm:px-2 py-0.5 rounded-full font-bold uppercase tracking-wider bg-orange-500/20 text-orange-400 border border-orange-500/30">⚡ 58s YC Blitz Cut</span>
</div>
<p class="text-[10px] sm:text-[11px] text-slate-400">Verified AI Release & Pre-Deployment Assurance Engine</p>
</div>
</div>
<div class="flex items-center gap-1.5 sm:gap-3 flex-wrap">
<a href="yc-application.html" class="inline-flex items-center gap-1 px-2.5 py-1.5 sm:px-3 sm:py-2 rounded-xl bg-slate-800 hover:bg-slate-700 text-emerald-400 border border-emerald-500/30 text-[11px] sm:text-xs font-bold transition"><span>📄 Form</span></a>
<a href="slides.html" class="inline-flex items-center gap-1 px-2.5 py-1.5 sm:px-3 sm:py-2 rounded-xl bg-slate-800 hover:bg-slate-700 text-amber-400 border border-amber-500/30 text-[11px] sm:text-xs font-bold transition"><span>📊 Slides</span></a>
<a href="https://shiva123782-kaveriai-studio.static.hf.space" class="inline-flex items-center gap-1.5 bg-gradient-to-r from-orange-500 to-amber-600 hover:from-orange-600 hover:to-amber-700 text-white text-[11px] sm:text-xs font-bold px-3 py-1.5 sm:px-4 sm:py-2 rounded-xl transition shadow-lg shadow-orange-500/25 active:scale-95">
<span>⚡ Live Studio</span>
<svg class="w-3 h-3" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M14 5l7 7m0 0l-7 7m7-7H3"/></svg>
</a>
</div>
</div>
</header>
<!-- Main Hero & Video Container -->
<main class="max-w-5xl mx-auto px-3 sm:px-4 py-4 sm:py-8 flex-1 w-full overflow-hidden">
<div class="text-center max-w-3xl mx-auto mb-6">
<div class="inline-flex items-center gap-2 px-3 py-1 rounded-full text-xs font-semibold bg-emerald-500/10 text-emerald-400 border border-emerald-500/20 mb-3">
<span class="w-2 h-2 rounded-full bg-emerald-400 animate-pulse"></span>
Crystal-Clear 720p HD · Natural Voice Walkthrough · Works on PC & Mobile
</div>
<h1 class="text-2xl sm:text-3xl font-black text-white tracking-tight">
Kaveri AI – VAPAE: <span class="bg-gradient-to-r from-orange-400 to-amber-400 bg-clip-text text-transparent">Pre-Deployment Assurance Engine</span>
</h1>
<p class="text-xs sm:text-sm text-slate-400 mt-2">
A structured five-gate evaluation engine combining Z3 SMT logical verification, HMAC certificates, and Merkle audit trails to guarantee safe AI deployments.
</p>
</div>
<!-- Video Card -->
<div class="glass-card rounded-2xl p-2.5 sm:p-4 shadow-2xl glow-orange mb-8">
<!-- Video Cut Selector & Controls -->
<div class="flex flex-wrap items-center justify-between pb-3 mb-3 border-b border-slate-800 text-xs gap-2">
<!-- Dual Cut Switcher -->
<div class="flex flex-wrap items-center gap-2">
<span class="text-slate-400 font-semibold text-[11px] sm:text-xs">Version:</span>
<button id="btnCutBlitz" onclick="switchVideoCut('blitz')" class="px-3 py-1.5 rounded-lg bg-orange-600 text-white font-black text-[11px] sm:text-xs shadow-lg shadow-orange-500/30 transition">
⚡ 58s YC Blitz Cut (Strict &le; 1 min)
</button>
<button id="btnCutMaster" onclick="switchVideoCut('master')" class="px-3 py-1.5 rounded-lg bg-slate-800 hover:bg-slate-700 text-slate-300 font-medium text-[11px] sm:text-xs transition">
🔬 1:54 Architectural Deep-Dive
</button>
</div>
<!-- Quality Switcher -->
<div class="flex items-center gap-2">
<span class="text-slate-400 font-semibold text-[11px] sm:text-xs">Stream:</span>
<button id="btnQualityHD" onclick="switchQuality('hd')" class="px-2.5 py-1 rounded-md bg-indigo-600 text-white font-bold text-[10.5px] transition">
✨ HD
</button>
<button id="btnQualityFast" onclick="switchQuality('fast')" class="px-2.5 py-1 rounded-md bg-slate-800 hover:bg-slate-700 text-slate-300 text-[10.5px] transition">
⚡ Fast (&lt;2MB)
</button>
</div>
</div>
<div class="relative rounded-xl overflow-hidden bg-black aspect-video flex items-center justify-center border border-slate-800">
<!-- Opening Title Screen Overlay (Requested by Founder) -->
<div id="videoIntroSlate" class="absolute inset-0 z-20 flex flex-col items-center justify-center bg-slate-950/95 backdrop-blur-md text-center p-6 transition-all duration-700 cursor-pointer" onclick="startVideoWithIntro()">
<div class="mb-2.5 text-xs sm:text-sm font-bold text-amber-300 flex items-center justify-center gap-1.5 tracking-wide">
<span class="text-base">🙏</span> <span>Namaste! This is Shiva, Founder of Kaveri AI</span>
</div>
<div class="inline-flex items-center gap-2 px-3 py-1 rounded-full text-[11px] font-bold bg-orange-500/20 text-orange-400 border border-orange-500/30 mb-3 animate-pulse">
<span>✨</span> Live Product Demo
</div>
<h2 class="text-2xl sm:text-4xl font-black text-white tracking-tight">
Kaveri AI – <span class="bg-gradient-to-r from-orange-400 to-amber-400 bg-clip-text text-transparent">VAPAE</span>
</h2>
<p class="text-xs sm:text-sm font-semibold text-slate-300 mt-2 max-w-lg">
Verified AI Release & Pre-Deployment Assurance Engine
</p>
<div class="mt-4 pt-3 border-t border-slate-800/80 flex flex-col items-center gap-1">
<span class="text-[11px] text-slate-400 uppercase tracking-wider font-semibold">Founder & Lead Engineer</span>
<span class="text-sm sm:text-base font-bold text-white flex items-center gap-1.5">
<span>👤</span> K Sivasankaraiah
</span>
</div>
<div class="mt-4 max-w-md px-4 py-2 rounded-xl bg-slate-900/90 border border-slate-800 text-[11.5px] text-emerald-300 font-medium shadow-inner">
💡 "Democratizing pre-deployment assurance & zero-cost post-training for every developer in the world."
</div>
<button type="button" class="mt-6 px-6 py-2.5 rounded-xl bg-gradient-to-r from-orange-500 to-amber-500 hover:from-orange-600 hover:to-amber-600 text-white font-bold text-xs flex items-center gap-2 shadow-lg shadow-orange-500/30 transition transform hover:scale-105 cursor-pointer">
<svg class="w-4 h-4 fill-current" viewBox="0 0 24 24"><path d="M8 5v14l11-7z"/></svg>
<span>Click to Play Demo Walkthrough (58s HD)</span>
</button>
</div>
<video id="demoVideo" controls preload="auto" playsinline class="w-full h-full object-contain">
<!-- Default: 58s YC Blitz Cut HD -->
<source id="videoSource" src="https://huggingface.co/spaces/shiva123782/KaveriAI-Studio/resolve/main/kaveriai_yc_blitz_demo_56s.mp4" type="video/mp4">
<source src="kaveriai_yc_blitz_demo_56s_fast.mp4" type="video/mp4">
Your browser does not support HTML5 video.
</video>
</div>
<div class="mt-4 flex flex-wrap items-center justify-between gap-3 px-2 pt-1 border-t border-slate-800/80 text-xs text-slate-400">
<div class="flex items-center gap-3 sm:gap-4 flex-wrap">
<span id="videoDurationBadge" class="flex items-center gap-1.5"><span class="w-2 h-2 rounded-full bg-emerald-500"></span> 58s YC-Compliant Cut</span>
<span>🖱 Frame-Synced Virtual Cursor & Audio Feedback</span>
<span>📱 Fully Responsive (PC, Tablet & Mobile)</span>
</div>
<div class="flex items-center gap-2">
<button id="btnVideoCC" onclick="toggleVideoSubtitles()" class="px-2.5 py-1.5 rounded-lg bg-slate-800 hover:bg-slate-700 text-orange-400 border border-orange-500/30 font-bold transition">
💬 CC: <span id="videoCCStatus">ON</span>
</button>
<a id="btnDownloadCurrent" href="https://huggingface.co/spaces/shiva123782/KaveriAI-Studio/resolve/main/kaveriai_yc_blitz_demo_56s.mp4" target="_blank" class="text-slate-400 hover:text-white flex items-center gap-1 px-3 py-1.5 rounded-lg bg-slate-800/80 hover:bg-slate-700 transition font-medium">
<svg class="w-3.5 h-3.5" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M4 16v1a3 3 0 003 3h10a3 3 0 003-3v-1m-4-4l-4 4m0 0l-4-4m4 4V4"/></svg>
Download Cut
</a>
</div>
</div>
<!-- Live Sync Subtitle & Translation Box -->
<div id="videoSubtitlesBox" class="mt-3 p-3.5 rounded-xl bg-slate-900/90 border border-slate-800 flex items-center justify-between gap-3">
<div class="flex items-center gap-2.5 flex-1">
<span class="w-2.5 h-2.5 rounded-full bg-orange-500 animate-pulse"></span>
<div>
<div class="text-[10px] text-slate-500 uppercase tracking-widest font-extrabold flex items-center gap-2">
<span>Synchronized Subtitles</span>
<span class="text-orange-400">• en-IN-PrabhatNeural (24kHz HD Voice)</span>
</div>
<p id="liveSubText" class="text-xs sm:text-sm text-slate-200 font-medium mt-0.5 leading-snug">
Eighty-five percent of fine-tuned AI models fail in production from silent CUDA out-of-memory crashes and hallucination drift. Kaveri AI builds VAPAE.
</p>
</div>
</div>
<div class="flex items-center gap-1 text-[11px]">
<button onclick="updateVideoSubLang('en')" class="px-2 py-1 rounded bg-slate-800 hover:bg-slate-700 text-slate-300 font-bold">EN</button>
<button onclick="updateVideoSubLang('te')" class="px-2 py-1 rounded bg-slate-800 hover:bg-slate-700 text-slate-300 font-bold">తెలుగు</button>
<button onclick="updateVideoSubLang('hi')" class="px-2 py-1 rounded bg-slate-800 hover:bg-slate-700 text-slate-300 font-bold">हिंदी</button>
<button onclick="updateVideoSubLang('ta')" class="px-2 py-1 rounded bg-slate-800 hover:bg-slate-700 text-slate-300 font-bold">தமிழ்</button>
</div>
</div>
</div>
<!-- 🗺️ Interactive Architecture Flowchart (First Entry to Last Exit) -->
<!-- 🤗 Live Hugging Face Model Inspector (real Hub API data) -->
<div class="mb-8" data-hf-inspector data-repos="shiva123782/RamaAi,shiva123782/Shiva-Llama-Instruct-v1"></div>
<div class="glass-card rounded-2xl p-5 border border-slate-800 mb-8 overflow-hidden">
<div class="flex items-center justify-between mb-4">
<div class="flex items-center gap-2.5">
<div class="w-8 h-8 rounded-lg bg-orange-500/20 text-orange-400 flex items-center justify-center font-bold text-sm">🗺️</div>
<div>
<h3 class="text-sm sm:text-base font-bold text-white">Basic Flow Analysis: First Entry to Last Exit</h3>
<p class="text-[11px] text-orange-400/80">Deterministic 5-Gate Lifecycle from Webhook Submission to Enclave Deployment</p>
</div>
</div>
<span class="text-[10px] px-2 py-1 rounded-full bg-emerald-500/15 text-emerald-400 border border-emerald-500/30 font-mono">AST & Z3 Verified</span>
</div>
<div class="mermaid text-xs py-2 bg-slate-950/70 rounded-xl p-3 border border-slate-800/80 overflow-x-auto">
flowchart LR
subgraph ENTRY["📥 FIRST ENTRY"]
direction TB
E1["CLI / Web Cockpit / Webhook"]
E2["Model + Dataset Bundle"]
E1 --> E2
end
subgraph GATES["🛡️ 5-GATE ENGINE"]
direction TB
G1["Gate 1: Pre-Flight<br/>Token · License · Fit"]
G2["Gate 2: AST Shield<br/>Auto-Repair CUDA Traps"]
G3["Gate 3: Z3 SMT Proof<br/>UNSAT Memory Bounds"]
G4["Gate 4: 50MB QLoRA<br/>Private Enclave ($0 BYOC)"]
G5["Gate 5: HMAC Seal<br/>Merkle Block #42"]
G1 --> G2 --> G3 --> G4 --> G5
end
subgraph EXIT["📤 LAST EXIT"]
direction TB
DEC{"Verified?"}
PASS["✅ APPROVED<br/>Production Enclave"]
FAIL["🚫 BLOCKED<br/>$0 Spent + Auto-Fix"]
DEC -- "YES" --> PASS
DEC -- "NO" --> FAIL
end
ENTRY --> GATES
GATES --> DEC
style ENTRY fill:#0f172a,stroke:#38bdf8,stroke-width:1.5px,color:#f8fafc
style GATES fill:#090d16,stroke:#f97316,stroke-width:1.5px,color:#f8fafc
style EXIT fill:#0f172a,stroke:#34d399,stroke-width:1.5px,color:#f8fafc
</div>
</div>
<!-- Deep-Dive Architecture: Weight Size & Anti-Theft Defense -->
<div class="grid grid-cols-1 md:grid-cols-2 gap-4 mb-8">
<div class="glass-card rounded-2xl p-5 border border-slate-800">
<div class="flex items-center gap-2.5 mb-3">
<div class="w-8 h-8 rounded-lg bg-orange-500/20 text-orange-400 flex items-center justify-center font-bold text-sm">💾</div>
<div>
<h3 class="text-sm font-bold text-white">Why are weights so lightweight (~50MB)?</h3>
<p class="text-[11px] text-orange-400/80">LoRA Rank-16 Delta Matrices vs 14GB Full Checkpoints</p>
</div>
</div>
<p class="text-xs text-slate-300 leading-relaxed mb-3">
Legacy platforms dump massive 14GB weights on every run. VAPAE uses <b>QLoRA Low-Rank Adaptation</b>: base model weights remain cached and immutable, and only low-rank delta projection matrices (&Delta;W = B &middot; A) are trained.
</p>
<ul class="text-[11px] text-slate-400 space-y-1.5 list-disc list-inside">
<li><b class="text-white">99% Size Reduction:</b> Tunes only low-rank matrices, downloading in seconds rather than 30 minutes.</li>
<li><b class="text-white">Multi-Tenant Serving:</b> A single spot GPU serves dozens of customer adapters simultaneously with zero cold start.</li>
<li><b class="text-white">Zero Storage Waste:</b> Eliminates redundant cloud storage and reduces egress costs by 99%.</li>
</ul>
</div>
<div class="glass-card rounded-2xl p-5 border border-slate-800">
<div class="flex items-center gap-2.5 mb-3">
<div class="w-8 h-8 rounded-lg bg-indigo-500/20 text-indigo-400 flex items-center justify-center font-bold text-sm">🛡️</div>
<div>
<h3 class="text-sm font-bold text-white">How do we protect proprietary IP & models?</h3>
<p class="text-[11px] text-indigo-400/80">Private Enclaves, HMAC Scoped Tokens & BLA Canaries</p>
</div>
</div>
<p class="text-xs text-slate-300 leading-relaxed mb-3">
VAPAE secures proprietary models through a multi-layered zero-trust perimeter:
</p>
<ul class="text-[11px] text-slate-400 space-y-1.5 list-disc list-inside">
<li><b class="text-white">Private by Default:</b> New model repos are created private; you choose when to publish (e.g. <span class="font-mono text-indigo-300">shiva123782/RamaAi</span> is public for this demo).</li>
<li><b class="text-white">BLA Honey-Canaries:</b> 24 active honeypot traps detect and exhaust rogue scraping bots attempting weight decompilation.</li>
<li><b class="text-white">HMAC Signed Tokens:</b> Remote users connect exclusively via time-limited, cryptographically verified API keys.</li>
<li><b class="text-white">Merkle Block #42 Anchor:</b> Every verification state is sealed into an immutable blockchain ledger, preventing unauthorized tampering.</li>
</ul>
</div>
</div>
<!-- Competitive Benchmark Matrix -->
<div class="glass-card rounded-2xl p-5 border border-slate-800 mb-8 overflow-x-auto">
<h3 class="text-sm font-bold text-white mb-3 flex items-center gap-2">
<span>🏆 Competitive Benchmark: Kaveri AI – VAPAE vs Alternatives</span>
</h3>
<table class="w-full text-left text-xs">
<thead>
<tr class="border-b border-slate-800 text-slate-400">
<th class="py-2.5 pr-4 font-semibold">Capability</th>
<th class="py-2.5 px-3 font-bold text-orange-400 bg-orange-500/10 rounded-t-lg">Kaveri AI (VAPAE)</th>
<th class="py-2.5 px-3 font-semibold">Predibase / Together AI</th>
<th class="py-2.5 px-3 font-semibold">Unsloth</th>
<th class="py-2.5 px-3 font-semibold">LM-Eval / Promptfoo</th>
</tr>
</thead>
<tbody class="divide-y divide-slate-800/60 text-slate-300">
<tr>
<td class="py-2.5 pr-4 font-medium">5-Gate Pre-Deployment Assurance</td>
<td class="py-2.5 px-3 text-emerald-400 font-bold bg-orange-500/10">✓ Automated 5 Gates</td>
<td class="py-2.5 px-3 text-slate-500">✗ None</td>
<td class="py-2.5 px-3 text-slate-500">✗ None</td>
<td class="py-2.5 px-3 text-slate-500">✗ Prompt-only</td>
</tr>
<tr>
<td class="py-2.5 pr-4 font-medium">Formal Logical Proofs</td>
<td class="py-2.5 px-3 text-emerald-400 font-bold bg-orange-500/10">✓ Z3 SMT Solver (UNSAT)</td>
<td class="py-2.5 px-3 text-slate-500">✗ Heuristic only</td>
<td class="py-2.5 px-3 text-slate-500">✗ Kernel only</td>
<td class="py-2.5 px-3 text-slate-500">✗ Heuristic only</td>
</tr>
<tr>
<td class="py-2.5 pr-4 font-medium">Zero-Cost BYOC</td>
<td class="py-2.5 px-3 text-emerald-400 font-bold bg-orange-500/10">✓ $0.00 Kaggle Spot T4</td>
<td class="py-2.5 px-3 text-rose-400">✗ 3x-5x Cloud Markup</td>
<td class="py-2.5 px-3 text-slate-300">Manual Setup</td>
<td class="py-2.5 px-3 text-slate-500">N/A (Eval only)</td>
</tr>
<tr>
<td class="py-2.5 pr-4 font-medium">Tamper-Evident Merkle Audit</td>
<td class="py-2.5 px-3 text-emerald-400 font-bold bg-orange-500/10">✓ Merkle Block #42</td>
<td class="py-2.5 px-3 text-slate-500">✗ Proprietary logs</td>
<td class="py-2.5 px-3 text-slate-500">✗ None</td>
<td class="py-2.5 px-3 text-slate-500">✗ Plain JSON</td>
</tr>
<tr>
<td class="py-2.5 pr-4 font-medium">1-Click Developer Rebranding</td>
<td class="py-2.5 px-3 text-emerald-400 font-bold bg-orange-500/10">✓ Automatic (Shiva AI Labs)</td>
<td class="py-2.5 px-3 text-slate-500">✗ Manual</td>
<td class="py-2.5 px-3 text-slate-500">✗ Manual</td>
<td class="py-2.5 px-3 text-slate-500">✗ N/A</td>
</tr>
</tbody>
</table>
</div>
<!-- Live Demo CTA Bar -->
<div class="rounded-2xl p-6 text-center border border-orange-500/30 bg-gradient-to-r from-orange-950/40 via-slate-900 to-indigo-950/40">
<h3 class="text-lg font-bold text-white">Experience VAPAE in Action</h3>
<p class="text-xs text-slate-400 max-w-xl mx-auto mt-1 mb-4">
Test the interactive studio live with auto-authenticated credentials, 0ms Gate 1 checks, and cryptographic verification.
</p>
<a href="https://shiva123782-kaveriai-studio.static.hf.space" class="inline-flex items-center gap-2 bg-gradient-to-r from-orange-500 to-amber-600 hover:from-orange-600 hover:to-amber-700 text-white font-bold text-sm px-6 py-2.5 rounded-xl shadow-xl shadow-orange-500/30 transition hover:scale-105 active:scale-95">
<span>Launch Interactive Studio</span>
<svg class="w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M14 5l7 7m0 0l-7 7m7-7H3"/></svg>
</a>
</div>
</main>
<!-- Footer -->
<footer class="border-t border-slate-800/60 py-4 text-center text-xs text-slate-500">
<p>© 2026 KaveriAI Labs · Engineered for Verified AI Release & Pre-Deployment Assurance</p>
</footer>
<script>
function toggleVideoModelMenu() {
const m = document.getElementById('videoModelMenu');
if (m) m.classList.toggle('hidden');
}
window.toggleVideoModelMenu = toggleVideoModelMenu;
function switchVideoHfTab(tab) {
const card = document.getElementById('vTabContentCard');
const files = document.getElementById('vTabContentFiles');
const settings = document.getElementById('vTabContentSettings');
const bCard = document.getElementById('vTabCardBtn');
const bFiles = document.getElementById('vTabFilesBtn');
const bSettings = document.getElementById('vTabSettingsBtn');
if (card) card.classList.toggle('hidden', tab !== 'card');
if (files) files.classList.toggle('hidden', tab !== 'files');
if (settings) settings.classList.toggle('hidden', tab !== 'settings');
if (bCard) bCard.className = tab === 'card' ? 'px-3.5 py-1.5 font-bold text-white border-b-2 border-emerald-400 transition flex items-center gap-1.5 cursor-pointer' : 'px-3.5 py-1.5 font-medium text-slate-400 hover:text-slate-200 transition flex items-center gap-1.5 cursor-pointer';
if (bFiles) bFiles.className = tab === 'files' ? 'px-3.5 py-1.5 font-bold text-white border-b-2 border-emerald-400 transition flex items-center gap-1.5 cursor-pointer' : 'px-3.5 py-1.5 font-medium text-slate-400 hover:text-slate-200 transition flex items-center gap-1.5 cursor-pointer';
if (bSettings) bSettings.className = tab === 'settings' ? 'px-3.5 py-1.5 font-bold text-white border-b-2 border-emerald-400 transition flex items-center gap-1.5 cursor-pointer' : 'px-3.5 py-1.5 font-medium text-slate-400 hover:text-slate-200 transition flex items-center gap-1.5 cursor-pointer';
}
window.switchVideoHfTab = switchVideoHfTab;
function startVideoWithIntro() {
const slate = document.getElementById('videoIntroSlate');
const vid = document.getElementById('demoVideo');
if (slate) {
slate.style.opacity = '0';
slate.style.pointerEvents = 'none';
setTimeout(() => {
slate.style.display = 'none';
}, 350);
}
if (vid) {
vid.play().catch(e => {
console.warn('Playback error or policy:', e);
vid.muted = false;
vid.play();
});
}
}
window.startVideoWithIntro = startVideoWithIntro;
document.addEventListener('DOMContentLoaded', () => {
const slate = document.getElementById('videoIntroSlate');
if (slate) {
slate.addEventListener('click', startVideoWithIntro);
const btn = slate.querySelector('button');
if (btn) {
btn.addEventListener('click', (e) => {
e.stopPropagation();
startVideoWithIntro();
});
}
}
});
const subBlitz = [
{ t: 0.0, en: "1. The Assurance Gap: 85% of fine-tuned AI models fail in production from silent CUDA out-of-memory crashes and hallucination drift. Kaveri AI builds VAPAE.", te: "1. అస్యూరెన్స్ గ్యాప్: 85% AI మోడల్స్ నిశ్శబ్ద OOM క్రాష్‌ల వల్ల విఫలమవుతాయి. Kaveri AI VAPAE ఇంజిన్‌ను నిర్మిస్తోంది.", hi: "1. एश्योरेंस गैप: 85% AI मॉडल मूक OOM क्रैश के कारण विफल होते हैं। Kaveri AI VAPAE का निर्माण कर रहा है।", ta: "1. உறுதிப்பாடு இடைவெளி: 85% AI மாதிரிகள் OOM செயலிழப்புகளால் தோல்வியடைகின்றன. Kaveri AI VAPAE-ஐ உருவாக்குகிறது." },
{ t: 11.5, en: "2. Move 1 AI Dataset Matchmaker: VAPAE inspects schemas and token distributions in real time, guaranteeing clean data with zero manual code.", te: "2. మూవ్ 1 AI మ్యాచ్‌మేకర్: రియల్-టైమ్ స్కీమా తనిఖీ మరియు కాలమ్ మ్యాపింగ్ ద్వారా జీరో కోడ్‌తో క్లీన్ డేటా ఫార్మాటింగ్ గ్యారెంటీ.", hi: "2. मूव 1 AI मैचमेकर: रियल-टाइम स्कीमा सत्यापन और कॉलम मैपिंग बिना किसी कोड के स्वच्छ डेटा सुनिश्चित करता है।", ta: "2. மூவ் 1 AI பொருத்தம்: நேரலை திட்டம் சரிபார்ப்பு சுத்தமான தரவை உறுதி செய்கிறது." },
{ t: 21.5, en: "3. Move 2 Gate 1 & AST Doctor: Gate 1 validates GPU fit in zero milliseconds, while our AST static analyzer auto-injects crash shields to 100% reliability.", te: "3. మూవ్ 2 గేట్ 1 & AST డాక్టర్: గేట్ 1 0ms లో GPU ఫిట్ ధృవీకరిస్తుంది, AST ఎనలైజర్ 100% విశ్వసనీయతను అందిస్తుంది.", hi: "3. मूव 2 गेट 1 & AST डॉक्टर: गेट 1 0ms में GPU फिट मान्य करता है और AST विश्लेषक 100% विश्वसनीयता देता है।", ta: "3. மூவ் 2 கேட் 1: 0ms-ல் GPU சரிபார்ப்பு மற்றும் 100% நம்பகத்தன்மை." },
{ t: 33.5, en: "4. Move 3 Z3 SMT Proof & 50MB QLoRA: The Z3 SMT solver formally proves memory bounds (UNSAT), and 50MB QLoRA adapters slash cloud storage by 99%.", te: "4. మూవ్ 3 Z3 SMT ప్రూఫ్: Z3 సాల్వర్ మెమరీ బౌండ్స్‌ను గణితబద్ధంగా ప్రూవ్ చేస్తుంది (UNSAT). 50MB QLoRA 99% స్టోరేజ్‌ను ఆదా చేస్తుంది.", hi: "4. मूव 3 Z3 SMT प्रूफ: Z3 सॉल्वर मेमोरी सीमा का गणितीय प्रमाण देता है और 50MB QLoRA 99% स्टोरेज बचाता है।", ta: "4. மூவ் 3 Z3 சான்று: நினைவக எல்லை கணித சான்று மற்றும் 99% சேமிப்பு." },
{ t: 45.5, en: "5. Gate 5 Merkle Block #42: Gate 5 seals the release with an HMAC certificate anchored to Merkle Block #42. Proprietary models stay strictly private.", te: "5. గేట్ 5 మెర్కిల్ బ్లాక్ #42: HMAC సర్టిఫికెట్ మరియు మెర్కిల్ బ్లాక్ #42 తో రిలీజ్ సీల్. మోడల్స్ ప్రైవేట్ వాల్ట్‌లో భద్రంగా ఉంటాయి.", hi: "5. गेट 5 मर्कल ब्लॉक #42: HMAC प्रमाणपत्र और मर्कल ब्लॉक #42 से रिलीज सील। मॉडल सुरक्षित रहते हैं।", ta: "5. கேட் 5 மெர்க்கிள் முத்திரை: HMAC சான்றிதழுடன் வெளியீடு." }
];
const subMaster = [
{ t: 0.0, en: "1. The Assurance Gap: 85% of fine-tuned AI models fail in production due to silent CUDA OOM crashes and hallucination drift. VAPAE provides a 5-gate pre-deployment assurance layer.", te: "1. అస్యూరెన్స్ గ్యాప్: 85% AI మోడల్స్ విఫలమవుతాయి. VAPAE 5-గేట్ ప్రీ-డిప్లాయ్‌మెంట్ అస్యూరెన్స్ అందిస్తుంది.", hi: "1. एश्योरेंस गैप: मूक क्रैश के कारण 85% AI मॉडल विफल होते हैं। VAPAE 5-गेट एश्योरेंस देता है।", ta: "1. உறுதிப்பாடு இடைவெளி: VAPAE 5-கேட் முன்-வரிசைப்படுத்தல் உறுதிப்பாட்டை வழங்குகிறது." },
{ t: 26.5, en: "2. Move 1 AI Dataset Matchmaker: Real-time schema inspection, token distribution & column mapping guarantees clean data with zero manual code.", te: "2. మూవ్ 1 AI డేటాసెట్ మ్యాచ్‌మేకర్: రియల్-టైమ్ స్కీమా తనిఖీ మరియు కాలమ్ మ్యాపింగ్ ద్వారా క్లీన్ డేటా ఫార్మాటింగ్ గ్యారెంటీ.", hi: "2. मूव 1 AI डेटासेट मैचमेकर: रियल-टाइम स्कीमा सत्यापन स्वच्छ डेटा सुनिश्चित करता है।", ta: "2. மூவ் 1 AI தரவுத்தொகுப்பு பொருத்தம்: நேரலை திட்டம் சரிபார்ப்பு சுத்தமான தரவை உறுதி செய்கிறது." },
{ t: 44.1, en: "3. Move 2 Gate 1 Pre-Flight & AST Shield: Token, license, and GPU fit validated in 0ms. AST static analyzer detects CUDA traps and injects 2026 crash shields (100/100).", te: "3. మూవ్ 2 గేట్ 1 ప్రీ-ఫ్లైట్ & AST షీల్డ్: టోకెన్, లైసెన్స్ 0ms లో ధృవీకరణ. AST విశ్లేషకుడు 100% విశ్వసనీయతను ఇస్తుంది.", hi: "3. मूव 2 गेट 1: टोकन, लाइसेंस और GPU 0ms में मान्य। AST विश्लेषक 100/100 विश्वसनीयता देता है।", ta: "3. மூவ் 2 கேட் 1: டோக்கன், உரிமம் 0ms-ல் சரிபார்ப்பு. 100/100 நம்பகத்தன்மை." },
{ t: 63.6, en: "4. Developer Rebrand & Model Vault: 1-Click rebrand to Shiva AI Labs. Weights default strictly private, accessible to remote users only via HMAC authenticated tokens.", te: "4. డెవలపర్ రీబ్రాండ్ & ప్రైవేట్ వాల్ట్: Shiva AI Labs కు 1-క్లిక్ రీబ్రాండ్. మోడల్ వెయిట్స్ ప్రైవేట్, కేవలం HMAC టోకెన్ల ద్వారా మాత్రమే యాక్సెస్.", hi: "4. डेवलपर रीब्रांड & प्राइवेट वॉल्ट: Shiva AI Labs में 1-क्लिक रीब्रांड। केवल HMAC टोकन से अधिकृत एक्सेस।", ta: "4. டெவலப்பர் மறுபெயரிடுதல்: Shiva AI Labs ஆக மாற்றம். HMAC டோக்கன்கள் மூலம் மட்டுமே அணுகல்." },
{ t: 83.3, en: "5. Move 3 Gate 4 Z3 SMT Proof & Merkle Seal: Memory bounds formally proven (UNSAT). 50MB QLoRA adapters save 99% storage. Gate 5 seals release with Merkle Block #42.", te: "5. మూవ్ 3 గేట్ 4 Z3 SMT ప్రూఫ్ & మెర్కిల్ సీల్: మెమరీ బౌండ్స్ గణిత ప్రూఫ్ (UNSAT). 50MB QLoRA 99% స్టోరేజ్ ఆదా చేస్తుంది. మెర్కిల్ బ్లాక్ #42 తో సీల్.", hi: "5. मूव 3 गेट 4: मेमोरी सीमा का गणितीय प्रमाण (UNSAT)। 50MB QLoRA 99% स्टोरेज बचाता है। मर्कल ब्लॉक #42 से अंतिम रिलीज।", ta: "5. மூவ் 3: நினைவக எல்லை கணித சான்று (UNSAT). 50MB QLoRA 99% சேமிப்பை மிச்சப்படுத்துகிறது. மெர்க்கிள் பிளாக் #42." }
];
let currentCut = 'blitz';
let currentQuality = 'hd';
let currentVideoLang = 'en';
let videoCCVisible = true;
const cuts = {
blitz: {
hd: 'https://huggingface.co/spaces/shiva123782/KaveriAI-Studio/resolve/main/kaveriai_yc_blitz_demo_56s.mp4',
fast: 'kaveriai_yc_blitz_demo_56s_fast.mp4',
label: '⚡ 58s YC Blitz Cut',
subtitles: subBlitz
},
master: {
hd: 'https://huggingface.co/spaces/shiva123782/KaveriAI-Studio/resolve/main/kaveriai_yc_demo_walkthrough_hd.mp4',
fast: 'kaveriai_yc_demo_walkthrough.mp4',
label: '🔬 1:54 Master Cut',
subtitles: subMaster
}
};
const vid = document.getElementById('demoVideo');
if (vid) {
vid.addEventListener('timeupdate', () => {
if (!videoCCVisible) return;
const ct = vid.currentTime;
const activeSubs = cuts[currentCut].subtitles;
let active = activeSubs[0];
for (let item of activeSubs) {
if (ct >= item.t) active = item;
}
const text = active[currentVideoLang] || active['en'];
const el = document.getElementById('liveSubText');
if (el) el.textContent = text;
});
}
function switchVideoCut(cut) {
currentCut = cut;
const bBlitz = document.getElementById('btnCutBlitz');
const bMaster = document.getElementById('btnCutMaster');
const headerBadge = document.getElementById('headerCutBadge');
const durBadge = document.getElementById('videoDurationBadge');
const dloadBtn = document.getElementById('btnDownloadCurrent');
if (cut === 'blitz') {
bBlitz.className = 'px-3 py-1.5 rounded-lg bg-orange-600 text-white font-black text-[11px] sm:text-xs shadow-lg shadow-orange-500/30 transition';
bMaster.className = 'px-3 py-1.5 rounded-lg bg-slate-800 hover:bg-slate-700 text-slate-300 font-medium text-[11px] sm:text-xs transition';
if (headerBadge) headerBadge.textContent = '⚡ 58s YC Blitz Cut';
if (durBadge) durBadge.innerHTML = '<span class="w-2 h-2 rounded-full bg-emerald-500"></span> 58s YC-Compliant Cut';
} else {
bMaster.className = 'px-3 py-1.5 rounded-lg bg-orange-600 text-white font-black text-[11px] sm:text-xs shadow-lg shadow-orange-500/30 transition';
bBlitz.className = 'px-3 py-1.5 rounded-lg bg-slate-800 hover:bg-slate-700 text-slate-300 font-medium text-[11px] sm:text-xs transition';
if (headerBadge) headerBadge.textContent = '🔬 1:54 Architectural Master';
if (durBadge) durBadge.innerHTML = '<span class="w-2 h-2 rounded-full bg-indigo-500"></span> 1:54 Deep-Dive Master Cut';
}
const newUrl = cuts[currentCut][currentQuality];
if (vid) {
const wasPlaying = !vid.paused;
vid.src = newUrl;
vid.currentTime = 0;
if (wasPlaying) vid.play();
}
if (dloadBtn) dloadBtn.href = cuts[currentCut].hd;
if (vid) vid.dispatchEvent(new Event('timeupdate'));
}
function switchQuality(q) {
currentQuality = q;
const bHd = document.getElementById('btnQualityHD');
const bFast = document.getElementById('btnQualityFast');
if (q === 'hd') {
bHd.className = 'px-2.5 py-1 rounded-md bg-indigo-600 text-white font-bold text-[10.5px] transition';
bFast.className = 'px-2.5 py-1 rounded-md bg-slate-800 hover:bg-slate-700 text-slate-300 text-[10.5px] transition';
} else {
bFast.className = 'px-2.5 py-1 rounded-md bg-indigo-600 text-white font-bold text-[10.5px] transition';
bHd.className = 'px-2.5 py-1 rounded-md bg-slate-800 hover:bg-slate-700 text-slate-300 text-[10.5px] transition';
}
if (vid) {
const ct = vid.currentTime;
const wasPlaying = !vid.paused;
vid.src = cuts[currentCut][currentQuality];
vid.currentTime = ct;
if (wasPlaying) vid.play();
}
}
function toggleVideoSubtitles() {
videoCCVisible = !videoCCVisible;
const box = document.getElementById('videoSubtitlesBox');
const st = document.getElementById('videoCCStatus');
if (videoCCVisible) {
box.classList.remove('hidden');
st.textContent = 'ON';
} else {
box.classList.add('hidden');
st.textContent = 'OFF';
}
}
function updateVideoSubLang(lang) {
currentVideoLang = lang;
if (vid) vid.dispatchEvent(new Event('timeupdate'));
}
</script>
<script src="hf-live-inspector.js" defer></script>
</body>
</html>