Download index.html from neuphonic/neudecide: direct link, hf CLI and curl.
- Browser
- Download file 4.82 kB
-
https://huggingface.co/spaces/neuphonic/neudecide/resolve/main/index.html
- Command line
-
hf download hf://spaces/neuphonic/neudecide/index.html
-
curl -L -o index.html https://huggingface.co/spaces/neuphonic/neudecide/resolve/main/index.html
4.82 kB
| <html lang="en"> | |
| <head> | |
| <meta charset="utf-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1"> | |
| <title>NeuDecide</title> | |
| <link rel="icon" href="assets/neuphonic-logo.svg" type="image/svg+xml"> | |
| <link rel="stylesheet" href="style.css"> | |
| </head> | |
| <body> | |
| <header> | |
| <div class="brand"> | |
| <h1><img class="logo" src="assets/neuphonic-logo.svg" alt="Neuphonic" width="28" height="28">NeuDecide</h1> | |
| <p>A 40mb voice-action model, running entirely on WASM in your browser.</p> | |
| <a class="lab-link" href="lab.html">Try the Device lab →</a> | |
| </div> | |
| <div class="model-status" id="model-status"> | |
| <span class="dot"></span><span id="model-status-text">Loading model…</span> | |
| <div class="progress" id="model-progress" hidden><div></div></div> | |
| </div> | |
| </header> | |
| <main> | |
| <section class="panel tools-panel"> | |
| <div class="panel-head"> | |
| <h2>Tools</h2> | |
| <span class="muted" id="tool-tokens"></span> | |
| </div> | |
| <nav class="tabs" id="scenario-tabs" role="tablist"></nav> | |
| <div class="context-path" id="context-path" hidden></div> | |
| <p class="muted scenario-hint" id="scenario-hint"></p> | |
| <ul class="tool-list" id="tool-list"></ul> | |
| <div class="tool-actions"> | |
| <button id="add-tool" class="secondary">+ Add tool</button> | |
| <button id="edit-json" class="ghost">Edit as JSON</button> | |
| <button id="reset-tools" class="ghost" hidden>Reset scenario</button> | |
| </div> | |
| <div class="json-editor" id="json-editor" hidden> | |
| <textarea id="json-text" spellcheck="false"></textarea> | |
| <p class="error" id="json-error"></p> | |
| <div class="row"> | |
| <button id="json-apply">Apply</button> | |
| <button id="json-cancel" class="ghost">Cancel</button> | |
| </div> | |
| </div> | |
| </section> | |
| <section class="panel run-panel"> | |
| <div class="panel-head"><h2>Speak a command</h2></div> | |
| <div class="inputs"> | |
| <button id="record" class="record" disabled> | |
| <span class="mic"></span><span id="record-label">Record</span> | |
| </button> | |
| <div class="meter" id="meter"><div></div></div> | |
| <span class="muted" id="record-time"></span> | |
| </div> | |
| <div class="inputs secondary-inputs"> | |
| <label class="file-button secondary" id="upload-label"> | |
| Upload audio<input type="file" id="upload" accept="audio/*" disabled> | |
| </label> | |
| <span class="muted">or drop a file here · samples:</span> | |
| <div id="samples" class="samples"></div> | |
| </div> | |
| <div class="hotkey" id="hotkey" hidden> | |
| <span class="hotkey-dot"></span> | |
| <span class="muted" id="hotkey-status"></span> | |
| </div> | |
| <p class="muted" id="examples"></p> | |
| <div class="result" id="result" hidden> | |
| <div class="result-head"> | |
| <h3>Result</h3> | |
| <audio id="playback" controls></audio> | |
| </div> | |
| <div id="calls"></div> | |
| <details> | |
| <summary>Raw model output</summary> | |
| <pre id="raw"></pre> | |
| </details> | |
| <p class="muted timings" id="timings"></p> | |
| </div> | |
| <p class="error" id="run-error"></p> | |
| </section> | |
| </main> | |
| <dialog id="tool-dialog"> | |
| <form method="dialog" id="tool-form"> | |
| <h3 id="tool-dialog-title">Add tool</h3> | |
| <label>Name <input name="name" required pattern="[A-Za-z_][A-Za-z0-9_]*" placeholder="setTimer"></label> | |
| <label>Description <input name="description" required placeholder="Starts a countdown timer."></label> | |
| <div class="params-head"> | |
| <span>Parameters</span> | |
| <button type="button" class="ghost" id="add-param">+ Parameter</button> | |
| </div> | |
| <div id="param-rows"></div> | |
| <p class="error" id="tool-error"></p> | |
| <div class="row end"> | |
| <button type="button" class="ghost" id="tool-cancel">Cancel</button> | |
| <button type="submit" id="tool-save">Save</button> | |
| </div> | |
| </form> | |
| </dialog> | |
| <template id="param-row"> | |
| <div class="param-row"> | |
| <input class="p-name" placeholder="name" pattern="[A-Za-z_][A-Za-z0-9_]*" required> | |
| <select class="p-type"> | |
| <option>string</option><option>number</option><option>integer</option><option>boolean</option> | |
| </select> | |
| <input class="p-enum" placeholder="allowed values, comma-separated"> | |
| <input class="p-min" placeholder="min" inputmode="decimal"> | |
| <input class="p-max" placeholder="max" inputmode="decimal"> | |
| <input class="p-desc" placeholder="description (optional)"> | |
| <label class="p-req"><input type="checkbox" checked> required</label> | |
| <button type="button" class="ghost p-remove" title="Remove parameter">×</button> | |
| </div> | |
| </template> | |
| <script type="module" src="js/app.js"></script> | |
| </body> | |
| </html> | |