Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Rm unused ModelSelectorV2.svelte (#9)
Browse files
src/lib/components/ModelSelectorV2.svelte
DELETED
|
@@ -1,70 +0,0 @@
|
|
| 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>
|
| 15 |
-
<div>Meta-Llama-3-70B-Instruct</div>
|
| 16 |
-
</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>
|
| 24 |
-
<div class="relative">
|
| 25 |
-
<div
|
| 26 |
-
class="rtl:inset-r-0 pointer-events-none absolute inset-y-0 start-0 flex items-center ps-3"
|
| 27 |
-
>
|
| 28 |
-
<svg
|
| 29 |
-
class="size-3 text-gray-500 dark:text-gray-400"
|
| 30 |
-
aria-hidden="true"
|
| 31 |
-
xmlns="http://www.w3.org/2000/svg"
|
| 32 |
-
fill="none"
|
| 33 |
-
viewBox="0 0 20 20"
|
| 34 |
-
>
|
| 35 |
-
<path
|
| 36 |
-
stroke="currentColor"
|
| 37 |
-
stroke-linecap="round"
|
| 38 |
-
stroke-linejoin="round"
|
| 39 |
-
stroke-width="2"
|
| 40 |
-
d="m19 19-4-4m0-7A7 7 0 1 1 1 8a7 7 0 0 1 14 0Z"
|
| 41 |
-
/>
|
| 42 |
-
</svg>
|
| 43 |
-
</div>
|
| 44 |
-
<input
|
| 45 |
-
type="text"
|
| 46 |
-
id="input-group-search"
|
| 47 |
-
class="block w-full border-b border-gray-300 bg-gray-50 p-2 ps-10 text-sm text-gray-900 focus:outline-none dark:border-gray-500 dark:bg-gray-600 dark:text-white"
|
| 48 |
-
placeholder="Search model"
|
| 49 |
-
/>
|
| 50 |
-
</div>
|
| 51 |
-
</div>
|
| 52 |
-
<ul class="h-48 overflow-y-auto pb-3 text-sm text-gray-700 dark:text-gray-200">
|
| 53 |
-
<li>
|
| 54 |
-
<div class="flex items-center rounded p-3 hover:bg-gray-100 dark:hover:bg-gray-600">
|
| 55 |
-
<label
|
| 56 |
-
for="checkbox-item-11"
|
| 57 |
-
class="w-full rounded text-sm font-medium text-gray-900 dark:text-gray-300"
|
| 58 |
-
>Bonnie Green</label
|
| 59 |
-
>
|
| 60 |
-
</div>
|
| 61 |
-
</li>
|
| 62 |
-
</ul>
|
| 63 |
-
<a
|
| 64 |
-
href="#"
|
| 65 |
-
class="flex items-center rounded-b-lg border-t border-gray-200 bg-gray-50 p-3 text-sm font-medium text-red-600 hover:bg-gray-100 hover:underline dark:border-gray-600 dark:bg-gray-700 dark:text-red-500 dark:hover:bg-gray-600"
|
| 66 |
-
>
|
| 67 |
-
Reset
|
| 68 |
-
</a>
|
| 69 |
-
</div>
|
| 70 |
-
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|