Spaces:
Running
Running
Upload index.html
Browse files- index.html +60 -18
index.html
CHANGED
|
@@ -1,19 +1,61 @@
|
|
| 1 |
-
<!
|
| 2 |
-
<html>
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 19 |
</html>
|
|
|
|
| 1 |
+
<!DOCTYPE html>
|
| 2 |
+
<html lang="en">
|
| 3 |
+
<head>
|
| 4 |
+
<meta charset="utf-8">
|
| 5 |
+
<meta name="viewport" content="width=device-width, initial-scale=1">
|
| 6 |
+
<title>IMP-VISION — Ask Demo</title>
|
| 7 |
+
<style>
|
| 8 |
+
:root { --bg:#141311; --panel:#1d1c19; --line:#3a382f; --text:#e8e2d4; --muted:#9a927e; --red:#f80c00; --ochre:#c8912a; }
|
| 9 |
+
* { box-sizing: border-box; }
|
| 10 |
+
body { margin:0; background:var(--bg); color:var(--text); font:15px/1.5 system-ui, sans-serif; }
|
| 11 |
+
main { max-width:640px; margin:0 auto; padding:28px 18px 48px; }
|
| 12 |
+
h1 { font-size:22px; letter-spacing:.04em; margin:0 0 4px; }
|
| 13 |
+
h1 .dot { color:var(--red); }
|
| 14 |
+
p.sub { color:var(--muted); margin:0 0 22px; }
|
| 15 |
+
.card { background:var(--panel); border:1px solid var(--line); border-radius:10px; padding:16px; margin-bottom:14px; }
|
| 16 |
+
.card h2 { font-size:13px; text-transform:uppercase; letter-spacing:.12em; color:var(--ochre); margin:0 0 10px; }
|
| 17 |
+
label.set { display:block; padding:8px 10px; border:1px solid var(--line); border-radius:8px; margin-bottom:8px; cursor:pointer; }
|
| 18 |
+
label.set input { accent-color:var(--red); margin-right:8px; }
|
| 19 |
+
label.set small { color:var(--muted); display:block; margin-left:24px; }
|
| 20 |
+
textarea { width:100%; background:#100f0e; color:var(--text); border:1px solid var(--line); border-radius:8px; padding:10px; min-height:64px; }
|
| 21 |
+
button { background:var(--red); color:#fff; border:0; border-radius:8px; padding:10px 22px; font-weight:600; cursor:pointer; margin-top:10px; }
|
| 22 |
+
#answer { white-space:pre-wrap; color:var(--text); }
|
| 23 |
+
.fine { color:var(--muted); font-size:13px; }
|
| 24 |
+
a { color:var(--ochre); }
|
| 25 |
+
</style>
|
| 26 |
+
</head>
|
| 27 |
+
<body>
|
| 28 |
+
<main>
|
| 29 |
+
<h1>IMP-VISION <span class="dot">●</span> Ask Demo</h1>
|
| 30 |
+
<p class="sub">Owner-chosen models, phone-side answers. A Deadbug Labs concept demo — canned answers, no camera, no weights.</p>
|
| 31 |
+
|
| 32 |
+
<div class="card">
|
| 33 |
+
<h2>Model set</h2>
|
| 34 |
+
<label class="set"><input type="radio" name="set" value="light"> Light — ~1.4 GB peak
|
| 35 |
+
<small>SmolVLM-256M · Llama-3.2-1B · whisper base.en · Piper lessac</small></label>
|
| 36 |
+
<label class="set"><input type="radio" name="set" value="balanced" checked> Balanced — ~1.7 GB peak
|
| 37 |
+
<small>SmolVLM-500M · Qwen2.5-1.5B · whisper base.en · Piper lessac-medium</small></label>
|
| 38 |
+
<label class="set"><input type="radio" name="set" value="max"> Max — ~3.4 GB peak
|
| 39 |
+
<small>Larger Eyes/Brain picks for high-RAM phones</small></label>
|
| 40 |
+
<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>
|
| 41 |
+
</div>
|
| 42 |
+
|
| 43 |
+
<div class="card">
|
| 44 |
+
<h2>Ask</h2>
|
| 45 |
+
<textarea id="q" placeholder="What am I looking at?"></textarea>
|
| 46 |
+
<button id="ask">Ask</button>
|
| 47 |
+
<p id="answer"></p>
|
| 48 |
+
</div>
|
| 49 |
+
|
| 50 |
+
<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>
|
| 51 |
+
</main>
|
| 52 |
+
<script>
|
| 53 |
+
document.getElementById('ask').addEventListener('click', function () {
|
| 54 |
+
var q = document.getElementById('q').value.trim();
|
| 55 |
+
document.getElementById('answer').textContent = q
|
| 56 |
+
? '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.'
|
| 57 |
+
: 'Ask something — in the product this goes to the Brain model on your phone.';
|
| 58 |
+
});
|
| 59 |
+
</script>
|
| 60 |
+
</body>
|
| 61 |
</html>
|