Spaces:
Runtime error
Runtime error
Update model-selector-modal.svelte
Browse files
src/lib/components/inference-playground/model-selector-modal.svelte
CHANGED
|
@@ -137,7 +137,7 @@
|
|
| 137 |
}}
|
| 138 |
>
|
| 139 |
{#if trending}
|
| 140 |
-
<div class="
|
| 141 |
<IconStar />
|
| 142 |
</div>
|
| 143 |
{/if}
|
|
@@ -147,8 +147,8 @@
|
|
| 147 |
><span class="text-black dark:text-white">{modelName}</span></span
|
| 148 |
>
|
| 149 |
{#if model.pipeline_tag === "image-text-to-text"}
|
| 150 |
-
<div class="
|
| 151 |
-
<IconEye />
|
| 152 |
</div>
|
| 153 |
{/if}
|
| 154 |
</button>
|
|
|
|
| 137 |
}}
|
| 138 |
>
|
| 139 |
{#if trending}
|
| 140 |
+
<div class=" mr-1.5 size-4 text-yellow-400">
|
| 141 |
<IconStar />
|
| 142 |
</div>
|
| 143 |
{/if}
|
|
|
|
| 147 |
><span class="text-black dark:text-white">{modelName}</span></span
|
| 148 |
>
|
| 149 |
{#if model.pipeline_tag === "image-text-to-text"}
|
| 150 |
+
<div class="size-5 text-gray-500 dark:text-gray-300 ml-2 bg-gray-500/10 dark:bg-gray-500/20 grid place-items-center rounded">
|
| 151 |
+
<IconEye class="size-3.5" />
|
| 152 |
</div>
|
| 153 |
{/if}
|
| 154 |
</button>
|