@ondeinference / ed Mirror · read-only
Fork 0

Read-only mirror of github.com/ondeinference/ed.

Mirrored from https://github.com/ondeinference/ed.git

Synced Nov 23, 01:00 UTC

main
html 78 lines 2.81 KB
Raw
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 <meta name="color-scheme" content="light dark" />
7 <title>Ed, in your browser</title>
8 <meta
9 name="description"
10 content="Ed is a language model that runs entirely in your browser. It downloads once, stays on your device, and nothing you type leaves it."
11 />
12 <meta property="og:type" content="website" />
13 <meta property="og:site_name" content="Onde" />
14 <meta property="og:title" content="Ed, in your browser" />
15 <meta
16 property="og:description"
17 content="A language model that runs entirely on your device. Nothing you type leaves it."
18 />
19 <meta property="og:url" content="https://ondewebdemo.5mb.app/" />
20 <meta name="twitter:card" content="summary" />
21 <link rel="icon" href="favicon.svg" type="image/svg+xml" />
22 <link rel="apple-touch-icon" href="apple-touch-icon.png" />
23 <link rel="stylesheet" href="style.css" />
24 </head>
25 <body>
26 <main>
27 <header>
28 <h1>Ed</h1>
29 <p class="tagline">A language model running on this device. Nothing you type leaves it.</p>
30 </header>
31
32 <section id="unsupported" class="card" hidden>
33 <h2>This browser can't run Ed</h2>
34 <p id="unsupported-reason"></p>
35 </section>
36
37 <section id="setup" class="card" hidden>
38 <h2 id="setup-title">Download the model</h2>
39 <p id="setup-text"></p>
40 <button id="download" type="button" disabled>Download</button>
41 <div id="progress-wrap" hidden>
42 <progress id="progress" max="100" value="0" aria-labelledby="progress-label"></progress>
43 <p id="progress-label" role="status" aria-live="polite"></p>
44 </div>
45 </section>
46
47 <section id="chat" hidden>
48 <div
49 id="transcript"
50 role="log"
51 aria-live="polite"
52 aria-label="Conversation"
53 tabindex="0"
54 ></div>
55 <form id="composer" autocomplete="off">
56 <label for="input" class="visually-hidden">Message</label>
57 <textarea
58 id="input"
59 rows="1"
60 placeholder="Message Ed"
61
62 ></textarea>
63 <button id="send" type="submit">Send</button>
64 <button id="stop" type="button" hidden>Stop</button>
65 </form>
66 <footer>
67 <span id="stats" role="status" aria-live="off"></span>
68 <span class="spacer"></span>
69 <button id="reset" type="button" class="link">New conversation</button>
70 <button id="clear" type="button" class="link">Remove model</button>
71 </footer>
72 </section>
73
74 <p class="byline">Ed runs on <a href="https://ondeinference.com">Onde</a>.</p>
75 </main>
76 <script type="module" src="main.js"></script>
77 </body>
78 </html>