Update index.html
Browse files- index.html +1 -6
index.html
CHANGED
@@ -32,8 +32,6 @@
|
|
32 |
@apply underline hover:text-blue-500 hover:no-underline;
|
33 |
}
|
34 |
</style>
|
35 |
-
<script src="https://cdnjs.cloudflare.com/ajax/libs/iframe-resizer/4.3.1/iframeResizer.contentWindow.min.js"></script>
|
36 |
-
|
37 |
<script src="https://cdn.tailwindcss.com"></script>
|
38 |
<script type="module">
|
39 |
import snarkdown from "https://cdn.skypack.dev/snarkdown";
|
@@ -92,10 +90,7 @@
|
|
92 |
outStatus.hidden = true;
|
93 |
outCounter.hidden = false;
|
94 |
outGen.hidden = false;
|
95 |
-
|
96 |
-
const p = prompt.replace(/\n|\\n/g, " \n");
|
97 |
-
const generated = sentence.replace(/\n|\\n/g, " \n");
|
98 |
-
outGen.innerHTML = snarkdown(p + generated);
|
99 |
outCounter.innerHTML = `${(totalTime / 1000).toFixed(
|
100 |
2
|
101 |
)}s (${tokensSec.toFixed(2)} tok/s)`;
|
|
|
32 |
@apply underline hover:text-blue-500 hover:no-underline;
|
33 |
}
|
34 |
</style>
|
|
|
|
|
35 |
<script src="https://cdn.tailwindcss.com"></script>
|
36 |
<script type="module">
|
37 |
import snarkdown from "https://cdn.skypack.dev/snarkdown";
|
|
|
90 |
outStatus.hidden = true;
|
91 |
outCounter.hidden = false;
|
92 |
outGen.hidden = false;
|
93 |
+
outGen.innerHTML = snarkdown(prompt + sentence);
|
|
|
|
|
|
|
94 |
outCounter.innerHTML = `${(totalTime / 1000).toFixed(
|
95 |
2
|
96 |
)}s (${tokensSec.toFixed(2)} tok/s)`;
|