Spaces:
Running on Zero
Running on Zero
docs: add the demo video link (README + the app's Watch-the-demo button)
Browse files- README.md +1 -1
- frontend/app.js +1 -1
- frontend/index.html +1 -1
README.md
CHANGED
|
@@ -26,7 +26,7 @@ tags:
|
|
| 26 |
|
| 27 |
**Try it live:** https://huggingface.co/spaces/build-small-hackathon/iris (open on a phone)
|
| 28 |
**How it was built (agent trace):** https://huggingface.co/datasets/build-small-hackathon/iris-agent-trace
|
| 29 |
-
**Demo video:**
|
| 30 |
|
| 31 |
Iris is a voice-first assistant for blind and low-vision people. Open it on a phone,
|
| 32 |
point the camera, and it tells you what's around you, out loud, in your language.
|
|
|
|
| 26 |
|
| 27 |
**Try it live:** https://huggingface.co/spaces/build-small-hackathon/iris (open on a phone)
|
| 28 |
**How it was built (agent trace):** https://huggingface.co/datasets/build-small-hackathon/iris-agent-trace
|
| 29 |
+
**Demo video:** https://youtu.be/h4AJOWuDCVc · **Social post:** _‹add link›_
|
| 30 |
|
| 31 |
Iris is a voice-first assistant for blind and low-vision people. Open it on a phone,
|
| 32 |
point the camera, and it tells you what's around you, out loud, in your language.
|
frontend/app.js
CHANGED
|
@@ -187,7 +187,7 @@ function resetSoon() { setTimeout(() => { resumeSR(); if (!busy) setState("", t(
|
|
| 187 |
player.addEventListener("ended", () => { setTimeout(resumeSR, 700); if (!busy) setState("", t("idle")); });
|
| 188 |
|
| 189 |
// ---- welcome popup (shown on every open): pitch read aloud, closeable by voice/tap ----
|
| 190 |
-
const DEMO_VIDEO_URL = "https://
|
| 191 |
let introOpen = true, autoCloseTimer = null, introRecog = null, introSpokenSession = false;
|
| 192 |
try { introSpokenSession = sessionStorage.getItem("iris_introSpoken") === "1"; } catch (e) {}
|
| 193 |
const CLOSE_WORDS = /\b(close|fechar|ok|okay|start|begin|continue|continuar|comecar|entendi|pode fechar|got it)\b/i;
|
|
|
|
| 187 |
player.addEventListener("ended", () => { setTimeout(resumeSR, 700); if (!busy) setState("", t("idle")); });
|
| 188 |
|
| 189 |
// ---- welcome popup (shown on every open): pitch read aloud, closeable by voice/tap ----
|
| 190 |
+
const DEMO_VIDEO_URL = "https://youtu.be/h4AJOWuDCVc"; // demo video
|
| 191 |
let introOpen = true, autoCloseTimer = null, introRecog = null, introSpokenSession = false;
|
| 192 |
try { introSpokenSession = sessionStorage.getItem("iris_introSpoken") === "1"; } catch (e) {}
|
| 193 |
const CLOSE_WORDS = /\b(close|fechar|ok|okay|start|begin|continue|continuar|comecar|entendi|pode fechar|got it)\b/i;
|
frontend/index.html
CHANGED
|
@@ -77,7 +77,7 @@
|
|
| 77 |
<button id="intro-en" class="intro-lang">EN</button>
|
| 78 |
<button id="intro-pt" class="intro-lang">PT</button>
|
| 79 |
</div>
|
| 80 |
-
<a id="intro-video" class="intro-video" href="https://
|
| 81 |
<button id="intro-close" class="intro-close">Close</button>
|
| 82 |
<p id="intro-hint" class="intro-hint">Say "close" or tap the button</p>
|
| 83 |
</div>
|
|
|
|
| 77 |
<button id="intro-en" class="intro-lang">EN</button>
|
| 78 |
<button id="intro-pt" class="intro-lang">PT</button>
|
| 79 |
</div>
|
| 80 |
+
<a id="intro-video" class="intro-video" href="https://youtu.be/h4AJOWuDCVc" target="_blank" rel="noopener">Watch the demo</a>
|
| 81 |
<button id="intro-close" class="intro-close">Close</button>
|
| 82 |
<p id="intro-hint" class="intro-hint">Say "close" or tap the button</p>
|
| 83 |
</div>
|