mishig HF staff commited on
Commit
1457dc9
1 Parent(s): 99d2df7
src/lib/components/InferencePlayground/InferencePlayground.svelte CHANGED
@@ -317,36 +317,33 @@
317
  </button>
318
  </div>
319
  </div>
320
- {#if conversations.length === 1}
321
- <div class="flex flex-col p-3">
322
- <div
323
- class="flex flex-1 flex-col gap-6 overflow-y-hidden rounded-xl border border-gray-200/80 bg-gradient-to-b from-white via-white p-3 shadow-sm dark:border-white/5 dark:from-gray-800/40 dark:via-gray-800/40"
324
- >
325
- <PlaygroundModelSelector
326
- {models}
327
- {conversation}
328
- on:click={() => (showModelPickerModal = open)}
329
- />
330
 
331
- <PlaygroundOptions bind:conversation />
332
- <div class="mt-auto">
333
- <div class="mb-3 flex items-center justify-between gap-2">
334
- <label
335
- for="default-range"
336
- class="block text-sm font-medium text-gray-900 dark:text-white">API Quota</label
337
- >
338
- <span
339
- class="rounded bg-gray-100 px-1.5 py-0.5 text-xs font-medium text-gray-800 dark:bg-gray-700 dark:text-gray-300"
340
- >Free</span
341
- >
342
 
343
- <div class="ml-auto w-12 text-right text-sm">76%</div>
344
- </div>
345
- <div class="h-2 w-full rounded-full bg-gray-200 dark:bg-gray-700">
346
- <div class="h-2 rounded-full bg-black dark:bg-gray-400" style="width: 75%"></div>
347
- </div>
348
  </div>
349
  </div>
350
  </div>
351
- {/if}
352
  </div>
 
317
  </button>
318
  </div>
319
  </div>
320
+ <div class="flex flex-col p-3">
321
+ <div
322
+ class="flex flex-1 flex-col gap-6 overflow-y-hidden rounded-xl border border-gray-200/80 bg-gradient-to-b from-white via-white p-3 shadow-sm dark:border-white/5 dark:from-gray-800/40 dark:via-gray-800/40"
323
+ >
324
+ <PlaygroundModelSelector
325
+ {models}
326
+ {conversation}
327
+ on:click={() => (showModelPickerModal = open)}
328
+ />
 
329
 
330
+ <PlaygroundOptions bind:conversation />
331
+ <div class="mt-auto">
332
+ <div class="mb-3 flex items-center justify-between gap-2">
333
+ <label for="default-range" class="block text-sm font-medium text-gray-900 dark:text-white"
334
+ >API Quota</label
335
+ >
336
+ <span
337
+ class="rounded bg-gray-100 px-1.5 py-0.5 text-xs font-medium text-gray-800 dark:bg-gray-700 dark:text-gray-300"
338
+ >Free</span
339
+ >
 
340
 
341
+ <div class="ml-auto w-12 text-right text-sm">76%</div>
342
+ </div>
343
+ <div class="h-2 w-full rounded-full bg-gray-200 dark:bg-gray-700">
344
+ <div class="h-2 rounded-full bg-black dark:bg-gray-400" style="width: 75%"></div>
 
345
  </div>
346
  </div>
347
  </div>
348
+ </div>
349
  </div>