Spaces:
Runtime error
Runtime error
Model selector w-full
Browse files
src/lib/components/InferencePlayground/InferencePlaygroundModelSelectorModal.svelte
CHANGED
|
@@ -68,7 +68,7 @@
|
|
| 68 |
{#each featuredModels as model}
|
| 69 |
{@const [nameSpace, modelName] = model.id.split("/")}
|
| 70 |
<button
|
| 71 |
-
class="flex cursor-pointer items-center px-2 py-1.5 text-sm hover:bg-gray-100"
|
| 72 |
on:click={() => {
|
| 73 |
dispatch("modelSelected", model.id);
|
| 74 |
dispatch("close");
|
|
@@ -91,7 +91,7 @@
|
|
| 91 |
{#each otherModels as model}
|
| 92 |
{@const [nameSpace, modelName] = model.id.split("/")}
|
| 93 |
<button
|
| 94 |
-
class="flex cursor-pointer items-center px-2 py-1.5 text-sm hover:bg-gray-100"
|
| 95 |
on:click={() => {
|
| 96 |
dispatch("modelSelected", model.id);
|
| 97 |
dispatch("close");
|
|
|
|
| 68 |
{#each featuredModels as model}
|
| 69 |
{@const [nameSpace, modelName] = model.id.split("/")}
|
| 70 |
<button
|
| 71 |
+
class="flex cursor-pointer items-center px-2 py-1.5 text-sm hover:bg-gray-100 w-full"
|
| 72 |
on:click={() => {
|
| 73 |
dispatch("modelSelected", model.id);
|
| 74 |
dispatch("close");
|
|
|
|
| 91 |
{#each otherModels as model}
|
| 92 |
{@const [nameSpace, modelName] = model.id.split("/")}
|
| 93 |
<button
|
| 94 |
+
class="flex cursor-pointer items-center px-2 py-1.5 text-sm hover:bg-gray-100 w-full"
|
| 95 |
on:click={() => {
|
| 96 |
dispatch("modelSelected", model.id);
|
| 97 |
dispatch("close");
|