Julian Bilcke
commited on
Commit
·
f03ce40
1
Parent(s):
6348944
improve the default prompt
Browse files- public/index.html +2 -2
public/index.html
CHANGED
|
@@ -26,7 +26,7 @@
|
|
| 26 |
name="draft"
|
| 27 |
x-model="draft"
|
| 28 |
rows="10"
|
| 29 |
-
placeholder="
|
| 30 |
class="input input-bordered w-full rounded text-lg text-stone-500 bg-stone-300 font-mono h-48"
|
| 31 |
></textarea>
|
| 32 |
<button
|
|
@@ -92,7 +92,7 @@ function humanFileSize(bytes, si=false, dp=1) {
|
|
| 92 |
function app() {
|
| 93 |
return {
|
| 94 |
open: false,
|
| 95 |
-
draft: new URLSearchParams(window.location.search).get('prompt') || '',
|
| 96 |
prompt: '',
|
| 97 |
size: 0,
|
| 98 |
minPromptSize: 16, // if you change this, you will need to also change in src/index.mts
|
|
|
|
| 26 |
name="draft"
|
| 27 |
x-model="draft"
|
| 28 |
rows="10"
|
| 29 |
+
placeholder="A simple page to compute the bmi, using kg and meters"
|
| 30 |
class="input input-bordered w-full rounded text-lg text-stone-500 bg-stone-300 font-mono h-48"
|
| 31 |
></textarea>
|
| 32 |
<button
|
|
|
|
| 92 |
function app() {
|
| 93 |
return {
|
| 94 |
open: false,
|
| 95 |
+
draft: new URLSearchParams(window.location.search).get('prompt') || 'A simple page to compute the bmi, using kg and meters',
|
| 96 |
prompt: '',
|
| 97 |
size: 0,
|
| 98 |
minPromptSize: 16, // if you change this, you will need to also change in src/index.mts
|