Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
selector
Browse files
src/lib/components/Playground/Playground.svelte
CHANGED
|
@@ -306,20 +306,20 @@
|
|
| 306 |
}}
|
| 307 |
type="button"
|
| 308 |
disabled={loading}
|
| 309 |
-
class="flex h-[39px] w-24 items-center justify-center gap-2 rounded-lg bg-black px-5 py-2.5 text-sm font-medium text-white hover:bg-gray-900 focus:outline-none focus:ring-4 focus:ring-gray-300
|
| 310 |
>
|
| 311 |
{#if loading}
|
| 312 |
<div class="flex flex-none items-center gap-[3px]">
|
| 313 |
<div
|
| 314 |
-
class="h-1 w-1 flex-none animate-bounce rounded-full bg-gray-500 dark:bg-gray-
|
| 315 |
style="animation-delay: 0.25s;"
|
| 316 |
/>
|
| 317 |
<div
|
| 318 |
-
class="h-1 w-1 flex-none animate-bounce rounded-full bg-gray-500 dark:bg-gray-
|
| 319 |
style="animation-delay: 0.5s;"
|
| 320 |
/>
|
| 321 |
<div
|
| 322 |
-
class="h-1 w-1 flex-none animate-bounce rounded-full bg-gray-500 dark:bg-gray-
|
| 323 |
style="animation-delay: 0.75s;"
|
| 324 |
/>
|
| 325 |
</div>
|
|
|
|
| 306 |
}}
|
| 307 |
type="button"
|
| 308 |
disabled={loading}
|
| 309 |
+
class="flex h-[39px] w-24 items-center justify-center gap-2 rounded-lg bg-black px-5 py-2.5 text-sm font-medium text-white hover:bg-gray-900 focus:outline-none focus:ring-4 focus:ring-gray-300 dark:border-gray-700 dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-gray-700"
|
| 310 |
>
|
| 311 |
{#if loading}
|
| 312 |
<div class="flex flex-none items-center gap-[3px]">
|
| 313 |
<div
|
| 314 |
+
class="h-1 w-1 flex-none animate-bounce rounded-full bg-gray-500 dark:bg-gray-100"
|
| 315 |
style="animation-delay: 0.25s;"
|
| 316 |
/>
|
| 317 |
<div
|
| 318 |
+
class="h-1 w-1 flex-none animate-bounce rounded-full bg-gray-500 dark:bg-gray-100"
|
| 319 |
style="animation-delay: 0.5s;"
|
| 320 |
/>
|
| 321 |
<div
|
| 322 |
+
class="h-1 w-1 flex-none animate-bounce rounded-full bg-gray-500 dark:bg-gray-100"
|
| 323 |
style="animation-delay: 0.75s;"
|
| 324 |
/>
|
| 325 |
</div>
|
src/lib/components/Playground/PlaygroundModelSelectorV2.svelte
CHANGED
|
@@ -1,6 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
| 1 |
<div class="relative z-10">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2 |
<button
|
| 3 |
-
class="flex items-center gap-5 whitespace-nowrap rounded-lg border bg-white px-3 py-1.5 leading-tight shadow dark:bg-gray-700"
|
| 4 |
>
|
| 5 |
<div class="flex flex-col items-start text-sm">
|
| 6 |
<div class="text-gray-500 dark:text-gray-300">meta-llama</div>
|
|
@@ -9,7 +17,7 @@
|
|
| 9 |
<div class="size-5 bg-red-50"></div>
|
| 10 |
</button>
|
| 11 |
<div
|
| 12 |
-
class="absolute right-0 z-10 w-96 overflow-hidden rounded-lg border bg-white shadow-lg dark:bg-gray-700"
|
| 13 |
>
|
| 14 |
<div>
|
| 15 |
<label for="input-group-search" class="sr-only">Search Models</label>
|
|
|
|
| 1 |
+
<script>
|
| 2 |
+
</script>
|
| 3 |
+
|
| 4 |
<div class="relative z-10">
|
| 5 |
+
<label
|
| 6 |
+
for="countries"
|
| 7 |
+
class="mb-2 flex items-baseline text-sm font-medium text-gray-900 dark:text-white"
|
| 8 |
+
>Models<span class="ml-4 font-normal text-gray-400">12</span>
|
| 9 |
+
</label>
|
| 10 |
<button
|
| 11 |
+
class="peer flex items-center gap-5 whitespace-nowrap rounded-lg border bg-white px-3 py-1.5 leading-tight shadow dark:bg-gray-700"
|
| 12 |
>
|
| 13 |
<div class="flex flex-col items-start text-sm">
|
| 14 |
<div class="text-gray-500 dark:text-gray-300">meta-llama</div>
|
|
|
|
| 17 |
<div class="size-5 bg-red-50"></div>
|
| 18 |
</button>
|
| 19 |
<div
|
| 20 |
+
class="absolute right-0 z-10 hidden w-96 overflow-hidden rounded-lg border bg-white shadow-lg hover:block peer-focus-within:block dark:bg-gray-700"
|
| 21 |
>
|
| 22 |
<div>
|
| 23 |
<label for="input-group-search" class="sr-only">Search Models</label>
|