jbilcke-hf HF staff commited on
Commit
4b1909d
1 Parent(s): a49356e
Files changed (1) hide show
  1. public/index.html +2 -1
public/index.html CHANGED
@@ -36,12 +36,13 @@
36
  x-model="promptDraft"
37
  rows="10"
38
  placeholder="Describe your web app"
39
- class="input input-bordered w-full rounded text-stone-600 bg-stone-100 font-mono text-md md:text-lg h-24 md:h-48"
40
  ></textarea>
41
  <button
42
  class="btn disabled:text-stone-400"
43
  @click="open = true, prompt = promptDraft, state = state === 'stopped' ? 'loading' : 'stopped'"
44
  :class="promptDraft.length < minPromptSize ? 'btn-neutral' : state === 'stopped' ? 'btn-accent' : 'btn-warning'"
 
45
  >
46
  <span x-show="promptDraft.length < minPromptSize">Prompt too short to generate</span>
47
  <span x-show="promptDraft.length >= minPromptSize && state !== 'stopped'">Stop now</span>
 
36
  x-model="promptDraft"
37
  rows="10"
38
  placeholder="Describe your web app"
39
+ class="input input-bordered w-full rounded text-stone-800 bg-stone-100 font-mono text-md md:text-lg h-24 md:h-48"
40
  ></textarea>
41
  <button
42
  class="btn disabled:text-stone-400"
43
  @click="open = true, prompt = promptDraft, state = state === 'stopped' ? 'loading' : 'stopped'"
44
  :class="promptDraft.length < minPromptSize ? 'btn-neutral' : state === 'stopped' ? 'btn-accent' : 'btn-warning'"
45
+ :disabled="promptDraft.length < minPromptSize"
46
  >
47
  <span x-show="promptDraft.length < minPromptSize">Prompt too short to generate</span>
48
  <span x-show="promptDraft.length >= minPromptSize && state !== 'stopped'">Stop now</span>