Demo: link to the GitHub repo and both Hugging Face repos
Browse files- index.html +8 -0
index.html
CHANGED
|
@@ -15,6 +15,9 @@
|
|
| 15 |
header { margin-bottom: 20px; }
|
| 16 |
header h1 { font: inherit; font-size: 15px; font-weight: 600; }
|
| 17 |
header p { color: var(--dim); }
|
|
|
|
|
|
|
|
|
|
| 18 |
.box { border: 1px solid var(--line); }
|
| 19 |
.bar { display: flex; justify-content: space-between; gap: 12px; padding: 8px 14px; color: var(--dim); }
|
| 20 |
.bar + .editor, .editor + .bar { border-top: 1px solid var(--line); }
|
|
@@ -43,6 +46,11 @@
|
|
| 43 |
<header>
|
| 44 |
<h1>ghost-typer</h1>
|
| 45 |
<p>finishes your sentences. never takes the byline.</p>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 46 |
</header>
|
| 47 |
<div class="box">
|
| 48 |
<div class="bar"><span id="meta">loading model...</span></div>
|
|
|
|
| 15 |
header { margin-bottom: 20px; }
|
| 16 |
header h1 { font: inherit; font-size: 15px; font-weight: 600; }
|
| 17 |
header p { color: var(--dim); }
|
| 18 |
+
header nav { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
|
| 19 |
+
header nav a { color: var(--dim); text-decoration: none; border: 1px solid var(--line); padding: 0 8px; }
|
| 20 |
+
header nav a:hover { color: var(--fg); border-color: var(--dim); }
|
| 21 |
.box { border: 1px solid var(--line); }
|
| 22 |
.bar { display: flex; justify-content: space-between; gap: 12px; padding: 8px 14px; color: var(--dim); }
|
| 23 |
.bar + .editor, .editor + .bar { border-top: 1px solid var(--line); }
|
|
|
|
| 46 |
<header>
|
| 47 |
<h1>ghost-typer</h1>
|
| 48 |
<p>finishes your sentences. never takes the byline.</p>
|
| 49 |
+
<nav>
|
| 50 |
+
<a href="https://github.com/tmickleydoyle/ghost-typer">github</a>
|
| 51 |
+
<a href="https://huggingface.co/tmickleydoyle/ghost-typer">huggingface: model</a>
|
| 52 |
+
<a href="https://huggingface.co/tmickleydoyle/ghost-typer-web">huggingface: browser model</a>
|
| 53 |
+
</nav>
|
| 54 |
</header>
|
| 55 |
<div class="box">
|
| 56 |
<div class="bar"><span id="meta">loading model...</span></div>
|