Julian Bilcke
commited on
Commit
Β·
02b4e01
1
Parent(s):
6b981ec
fix the prompt
Browse files- public/index.html +2 -2
- src/index.mts +1 -1
public/index.html
CHANGED
|
@@ -20,7 +20,7 @@
|
|
| 20 |
class="py-2 space-y-4 text-stone-600 transition-all delay-150 ease-in-out"
|
| 21 |
:class="open ? 'md:text-lg lg:text-xl' : 'text-2xl'">
|
| 22 |
<p>A space to generate web content using WizardCoder.</p>
|
| 23 |
-
<p>
|
| 24 |
</div>
|
| 25 |
<textarea
|
| 26 |
name="promptDraft"
|
|
@@ -41,7 +41,7 @@
|
|
| 41 |
</button>
|
| 42 |
<span class="py-3" x-show="state === 'loading'">Waiting for the stream to begin (might take a few minutes)..</span>
|
| 43 |
<span class="py-3" x-show="state === 'streaming'">
|
| 44 |
-
Streamed <span x-text="humanFileSize(size, true, 2)"></span> so far
|
| 45 |
</div>
|
| 46 |
</div>
|
| 47 |
</div>
|
|
|
|
| 20 |
class="py-2 space-y-4 text-stone-600 transition-all delay-150 ease-in-out"
|
| 21 |
:class="open ? 'md:text-lg lg:text-xl' : 'text-2xl'">
|
| 22 |
<p>A space to generate web content using WizardCoder.</p>
|
| 23 |
+
<p>Running on π€ Inference Endpoints.</p>
|
| 24 |
</div>
|
| 25 |
<textarea
|
| 26 |
name="promptDraft"
|
|
|
|
| 41 |
</button>
|
| 42 |
<span class="py-3" x-show="state === 'loading'">Waiting for the stream to begin (might take a few minutes)..</span>
|
| 43 |
<span class="py-3" x-show="state === 'streaming'">
|
| 44 |
+
Streamed <span x-text="humanFileSize(size, true, 2)"></span> so far..<br/>Note: this version generates up to 1024 tokens.</span>
|
| 45 |
</div>
|
| 46 |
</div>
|
| 47 |
</div>
|
src/index.mts
CHANGED
|
@@ -102,7 +102,7 @@ ${daisy}
|
|
| 102 |
- All the JS code will be written directly inside the page, using <script type="text/javascript">...</script>
|
| 103 |
- You MUST use English, not Latin! (I repeat: do NOT write lorem ipsum!)
|
| 104 |
- No need to write code comments, so please make the code compact (short function names etc)
|
| 105 |
-
- Use a central layout by wrapping everything in a \`<div class="flex flex-col
|
| 106 |
# HTML output
|
| 107 |
${prefix}`
|
| 108 |
|
|
|
|
| 102 |
- All the JS code will be written directly inside the page, using <script type="text/javascript">...</script>
|
| 103 |
- You MUST use English, not Latin! (I repeat: do NOT write lorem ipsum!)
|
| 104 |
- No need to write code comments, so please make the code compact (short function names etc)
|
| 105 |
+
- Use a central layout by wrapping everything in a \`<div class="flex flex-col items-center">\`
|
| 106 |
# HTML output
|
| 107 |
${prefix}`
|
| 108 |
|