jbilcke-hf HF staff commited on
Commit
ef76154
1 Parent(s): c89d3c3
Files changed (1) hide show
  1. 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(state) : true"
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
  >