Spaces:
Sleeping
Sleeping
feat(front): add multimodal icon on model page (#1493)
Browse files
src/routes/models/+page.svelte
CHANGED
@@ -9,7 +9,7 @@
|
|
9 |
|
10 |
import CarbonHelpFilled from "~icons/carbon/help-filled";
|
11 |
import CarbonTools from "~icons/carbon/tools";
|
12 |
-
|
13 |
export let data: PageData;
|
14 |
</script>
|
15 |
|
@@ -61,6 +61,14 @@
|
|
61 |
<CarbonTools class="text-xxs text-purple-700 dark:text-purple-500" />
|
62 |
</div>
|
63 |
{/if}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
64 |
{#if index === 0}
|
65 |
<div
|
66 |
class="rounded-full border border-gray-300 px-2 py-0.5 text-xs text-gray-500 dark:border-gray-500 dark:text-gray-400"
|
|
|
9 |
|
10 |
import CarbonHelpFilled from "~icons/carbon/help-filled";
|
11 |
import CarbonTools from "~icons/carbon/tools";
|
12 |
+
import CarbonImage from "~icons/carbon/image";
|
13 |
export let data: PageData;
|
14 |
</script>
|
15 |
|
|
|
61 |
<CarbonTools class="text-xxs text-purple-700 dark:text-purple-500" />
|
62 |
</div>
|
63 |
{/if}
|
64 |
+
{#if model.multimodal}
|
65 |
+
<div
|
66 |
+
title="This model is multimodal and supports image inputs natively."
|
67 |
+
class="ml-auto flex size-[21px] items-center justify-center rounded-lg border border-blue-700 dark:border-blue-500"
|
68 |
+
>
|
69 |
+
<CarbonImage class="text-xxs text-blue-700 dark:text-blue-500" />
|
70 |
+
</div>
|
71 |
+
{/if}
|
72 |
{#if index === 0}
|
73 |
<div
|
74 |
class="rounded-full border border-gray-300 px-2 py-0.5 text-xs text-gray-500 dark:border-gray-500 dark:text-gray-400"
|