imp-vision / index.html
Devilishcode's picture
Upload index.html
a7e34c3 verified
Raw History Blame Contribute Delete
3.99 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>IMP-VISION — Ask Demo</title>
<style>
:root { --bg:#141311; --panel:#1d1c19; --line:#3a382f; --text:#e8e2d4; --muted:#9a927e; --red:#f80c00; --ochre:#c8912a; }
* { box-sizing: border-box; }
body { margin:0; background:var(--bg); color:var(--text); font:15px/1.5 system-ui, sans-serif; }
main { max-width:640px; margin:0 auto; padding:28px 18px 48px; }
h1 { font-size:22px; letter-spacing:.04em; margin:0 0 4px; }
h1 .dot { color:var(--red); }
p.sub { color:var(--muted); margin:0 0 22px; }
.card { background:var(--panel); border:1px solid var(--line); border-radius:10px; padding:16px; margin-bottom:14px; }
.card h2 { font-size:13px; text-transform:uppercase; letter-spacing:.12em; color:var(--ochre); margin:0 0 10px; }
label.set { display:block; padding:8px 10px; border:1px solid var(--line); border-radius:8px; margin-bottom:8px; cursor:pointer; }
label.set input { accent-color:var(--red); margin-right:8px; }
label.set small { color:var(--muted); display:block; margin-left:24px; }
textarea { width:100%; background:#100f0e; color:var(--text); border:1px solid var(--line); border-radius:8px; padding:10px; min-height:64px; }
button { background:var(--red); color:#fff; border:0; border-radius:8px; padding:10px 22px; font-weight:600; cursor:pointer; margin-top:10px; }
#answer { white-space:pre-wrap; color:var(--text); }
.fine { color:var(--muted); font-size:13px; }
a { color:var(--ochre); }
</style>
</head>
<body>
<main>
<h1>IMP-VISION <span class="dot">●</span> Ask Demo</h1>
<p class="sub">Owner-chosen models, phone-side answers. A Deadbug Labs concept demo — canned answers, no camera, no weights.</p>
<div class="card">
<h2>Model set</h2>
<label class="set"><input type="radio" name="set" value="light"> Light — ~1.4 GB peak
<small>SmolVLM-256M · Llama-3.2-1B · whisper base.en · Piper lessac</small></label>
<label class="set"><input type="radio" name="set" value="balanced" checked> Balanced — ~1.7 GB peak
<small>SmolVLM-500M · Qwen2.5-1.5B · whisper base.en · Piper lessac-medium</small></label>
<label class="set"><input type="radio" name="set" value="max"> Max — ~3.4 GB peak
<small>Larger Eyes/Brain picks for high-RAM phones</small></label>
<p class="fine">In the product, any compatible Hugging Face repo can fill each role — Eyes, Brain, Ears, Voice. The sets are defaults, not a whitelist. Full index: <a href="https://huggingface.co/Devilishcode/imp-vision-model-sets">imp-vision-model-sets</a>.</p>
</div>
<div class="card">
<h2>Ask</h2>
<textarea id="q" placeholder="What am I looking at?"></textarea>
<button id="ask">Ask</button>
<p id="answer"></p>
</div>
<p class="fine">IMP-VISION is the AI smart-glasses line from <a href="https://deadbuglabs.github.io/">Deadbug Labs</a>: thermal imaging and night vision no other glasses offer, a hardwired recording indicator, and a brain the owner picks. This page is a static demo of the picker concept.</p>
<p class="fine"><strong>Find Deadbug Labs:</strong> <a href="https://github.com/deadbuglabs">GitHub</a> · <a href="https://www.facebook.com/profile.php?id=61591927232914">Facebook</a> · <a href="https://huggingface.co/Devilishcode">Hugging Face</a> · <a href="https://deadbuglabs.github.io/">Site</a></p>
</main>
<script>
document.getElementById('ask').addEventListener('click', function () {
var q = document.getElementById('q').value.trim();
document.getElementById('answer').textContent = q
? 'Demo answer: on the real glasses, your phone runs the Eyes model you picked on the camera feed and your Brain model writes this card. This Space serves canned text — nothing leaves your browser tab.'
: 'Ask something — in the product this goes to the Brain model on your phone.';
});
</script>
</body>
</html>