Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 9 additions & 2 deletions templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -252,11 +252,18 @@

Word :
<span id="displayWord">
...
No letters detected yet.
</span>

</div>

<div class="instruction-box mt-2">
<p><strong>Instructions:</strong></p>
<p>👋 Show your hand to the camera.</p>
<p>➕ Click "Add Letter" to add the detected sign.</p>
<p>🔤 Build your word letter by letter.</p>
</div>

<div class="controls">

<button
Expand Down Expand Up @@ -395,7 +402,7 @@

document.getElementById(
'displayWord'
).textContent = data.word;
).textContent = data.word && data.word.trim()!==""? data.word:"No letters detectded yet.";

});
}
Expand Down