Download index.html from ti3x-m/web-decision-model-json-render: direct link, hf CLI and curl.
- Browser
- Download file 5.3 kB
-
https://huggingface.co/spaces/ti3x-m/web-decision-model-json-render/resolve/main/index.html
- Command line
-
hf download hf://spaces/ti3x-m/web-decision-model-json-render/index.html
-
curl -L -o index.html https://huggingface.co/spaces/ti3x-m/web-decision-model-json-render/resolve/main/index.html
5.3 kB
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"><meta name="viewport" content="width=device-width,initial-scale=1"> | |
| <meta name="theme-color" content="#fafafa"><title>Web Decision Models × json-render</title> | |
| <link rel="stylesheet" crossorigin href="./legacy/assets/index-BWIYaoSs.css"> | |
| <script type="module" crossorigin src="./assets/index-DXxqN4aZ.js"></script> | |
| <link rel="stylesheet" crossorigin href="./assets/index-DM34eHxN.css"> | |
| </head> | |
| <body> | |
| <header class="topbar"><a class="brand" href="./"><span>{ }</span> json-render <i>×</i> Web Decision Models</a><div id="runtime-indicator" class="local" data-state="idle"><span></span><b id="runtime-indicator-text">Model not loaded</b></div></header> | |
| <main class="app-shell"> | |
| <aside class="example-rail"><div class="rail-heading"><p>Examples</p><h1>Decision-driven UI</h1><span>Choose a workflow, then ask a model to update its interface.</span></div><nav id="workflow-list" aria-label="Example workflows"></nav><div class="how-it-works"><strong>How it works</strong><ol><li>Start with valid UI JSON</li><li>The model chooses an allowed operation</li><li>The patch is validated and rendered</li></ol></div></aside> | |
| <section class="demo-stage"> | |
| <section class="model-bar" aria-label="Model settings"><label>Model<select id="model"><option value="multilingual">Laya Multilingual</option><option value="english">Laya English</option><option value="typed-decisions">Laya Typed Decisions</option></select></label><label id="backend-control">Run on<select id="backend"><option value="webgpu">WebGPU · FP32</option><option value="wasm">WASM / CPU · mixed INT8</option></select></label><label id="api-key-control" hidden>API KEY<input id="api-key" type="password" autocomplete="off" placeholder="JEV API key"></label><button id="load" class="load-button">Load model <span>↓</span></button><progress id="progress" class="model-progress" value="0" max="1" data-state="idle" aria-label="Model loading progress"></progress><div class="model-status"><span class="status-dot"></span><output id="status" aria-live="polite">Choose a model and load it.</output></div></section> | |
| <p id="model-detail" class="model-detail" aria-live="polite"></p> | |
| <p class="score-guide">Sorted by displayed Decision Index score, highest first; unscored models last. Historical editions aren’t directly comparable. ~ marks a proxy. <a id="score-source" href="https://huggingface.co/spaces/multimodalart/jev-decision-index" target="_blank" rel="noopener noreferrer">Decision Index 0.4.1 scores</a></p> | |
| <header class="workflow-heading"><div><p id="workflow-eyebrow">FORM COMPOSITION</p><h2 id="workflow-title">Account preferences</h2><span id="workflow-description"></span></div><button id="reset" class="ghost-button">Reset example</button></header> | |
| <section class="playground"> | |
| <article class="preview-panel"><div class="panel-title"><div><span>Preview</span><h3>Rendered interface</h3></div><span class="live-pill">LIVE</span></div><div id="ui-preview" class="ui-preview"></div><form id="instruction-form" class="instruction-box"><label id="instruction-label" for="instruction">Ask the model to update this UI</label><div><textarea id="instruction" rows="2"></textarea><button id="run" type="submit" disabled><b id="run-label">Decide & update</b> <span>→</span></button></div><div id="suggestions" class="suggestions"></div><button id="cancel" type="button" class="text-button" disabled>Cancel current decision</button></form></article> | |
| <aside class="decision-panel"><div class="panel-title"><div><span>Model workflow</span><h3>Decision trace</h3></div><span id="step-count">0 steps</span></div><ol id="decision-list" class="decision-list"><li class="empty-trace">Load a model and submit an instruction. Each decision will appear here.</li></ol></aside> | |
| </section> | |
| <details class="under-the-hood"><summary><div><span>Under the hood</span><h3>UI JSON → model request → model output</h3><p>Inspect the exact data behind the rendered interface.</p></div><span class="disclosure-label"><b>Show pipeline</b><i aria-hidden="true">⌄</i></span></summary><div class="data-grid"><article class="data-card"><header><span>01</span><div><strong>json-render document</strong><small>The validated JSON currently driving the UI.</small></div></header><pre id="document-json"></pre></article><article class="data-card"><header><span>02</span><div><strong>Request sent to the model</strong><small>Current UI, instruction, and allowed operations.</small></div></header><pre id="request-json">No decision submitted yet.</pre></article><article class="data-card"><header><span>03</span><div><strong>model output</strong><small>Choice, probabilities, confidence, and diagnostics.</small></div></header><pre id="output-json">No decision returned yet.</pre></article></div></details> | |
| <section id="error-panel" class="error-panel" role="alert" hidden><strong id="error-title"></strong><p id="error-advice"></p><details><summary>Technical details</summary><pre id="error-details"></pre></details><div><button id="retry">Retry loading</button><button id="try-wasm">Try WASM / CPU</button><button id="clear-cache">Clear model cache</button></div></section> | |
| </section> | |
| </main> | |
| </body> | |
| </html> | |