cfahlgren1 HF staff commited on
Commit
9126f16
1 Parent(s): 110cb04

add examples after it's loaded

Browse files
Files changed (1) hide show
  1. src/routes/+page.svelte +1 -1
src/routes/+page.svelte CHANGED
@@ -148,7 +148,7 @@
148
  </div>
149
  {/if}
150
  <div class="flex flex-col items-center mb-4">
151
- {#if inputText === ''}
152
  <p class="text-sm mb-2">Try these examples:</p>
153
  <div class="flex flex-wrap justify-center gap-2">
154
  {#each promptExamples as prompt}
 
148
  </div>
149
  {/if}
150
  <div class="flex flex-col items-center mb-4">
151
+ {#if inputText === '' && !isLoading}
152
  <p class="text-sm mb-2">Try these examples:</p>
153
  <div class="flex flex-wrap justify-center gap-2">
154
  {#each promptExamples as prompt}