Spaces:
Runtime error
Runtime error
Commit
•
ef76154
1
Parent(s):
c89d3c3
woops
Browse files- public/index.html +1 -1
public/index.html
CHANGED
@@ -46,7 +46,7 @@
|
|
46 |
</p>
|
47 |
<button
|
48 |
class="btn disabled:text-stone-400"
|
49 |
-
@click="open = true, prompt = promptDraft, state = state === 'stopped' ? 'loading' : 'stopped', state === 'streaming' ? stopGeneration(
|
50 |
:class="promptDraft.length < minPromptSize ? 'btn-neutral' : state === 'stopped' ? 'btn-accent' : 'btn-warning'"
|
51 |
:disabled="promptDraft.length < minPromptSize"
|
52 |
>
|
|
|
46 |
</p>
|
47 |
<button
|
48 |
class="btn disabled:text-stone-400"
|
49 |
+
@click="open = true, prompt = promptDraft, state = state === 'stopped' ? 'loading' : 'stopped', state === 'streaming' ? stopGeneration() : true"
|
50 |
:class="promptDraft.length < minPromptSize ? 'btn-neutral' : state === 'stopped' ? 'btn-accent' : 'btn-warning'"
|
51 |
:disabled="promptDraft.length < minPromptSize"
|
52 |
>
|