Spaces:
Runtime error
Runtime error
search box support dark mode
Browse files114 unmodified lines1151161171181191201213 unmodified lines1251261271281291301311321331341351361371381392 unmodified lines1421431441451461471482 unmodified lines151152153154155156157158159114 unmodified lines{@const [nameSpace, modelName] = model.id.split("/")}<buttonclass="flex w-full cursor-pointer items-center px-2 py-1.5 text-sm {highlightIdx === idx? 'highlighted bg-gray-100': ''}"on:mouseenter={() => highlightRow(idx)}on:click={() => {3 unmodified lines><IconStar classNames="lucide lucide-star mr-2 h-4 w-4 text-yellow-400" /><span class="inline-flex items-center"><span class="text-gray-500">{nameSpace}</span><span class="mx-1 text-black">/</span><spanclass="text-black">{modelName}</span></span></button>{/each}</div></div><div class="mx-1 h-px bg-gray-200"></div><div class="p-1"><div class="px-2 py-1.5 text-xs font-medium text-gray-500">Other Models</div><div>2 unmodified lines{@const idx = featuredModels.length + _idx}<buttonclass="flex w-full cursor-pointer items-center px-2 py-1.5 text-sm {highlightIdx === idx? 'highlighted bg-gray-100': ''}"on:mouseenter={() => highlightRow(idx)}on:click={() => {2 unmodified lines}}><span class="inline-flex items-center"><span class="text-gray-500">{nameSpace}</span><span class="mx-1 text-black">/</span><spanclass="text-black">{modelName}</span></span></button>{/each}114 unmodified lines1151161171181191201213 unmodified lines1251261271281291301311321331341351361371381392 unmodified lines1421431441451461471482 unmodified lines151152153154155156157158159114 unmodified lines{@const [nameSpace, modelName] = model.id.split("/")}<buttonclass="flex w-full cursor-pointer items-center px-2 py-1.5 text-sm {highlightIdx === idx? 'highlighted bg-gray-100 dark:bg-gray-700': ''}"on:mouseenter={() => highlightRow(idx)}on:click={() => {3 unmodified lines><IconStar classNames="lucide lucide-star mr-2 h-4 w-4 text-yellow-400" /><span class="inline-flex items-center"><span class="text-gray-500 dark:text-gray-400">{nameSpace}</span><spanclass="mx-1 text-black dark:text-white">/</span><span class="text-black dark:text-white">{modelName}</span></span></button>{/each}</div></div><div class="mx-1 h-px bg-gray-200 dark:bg-gray-700"></div><div class="p-1"><div class="px-2 py-1.5 text-xs font-medium text-gray-500">Other Models</div><div>2 unmodified lines{@const idx = featuredModels.length + _idx}<buttonclass="flex w-full cursor-pointer items-center px-2 py-1.5 text-sm {highlightIdx === idx? 'highlighted bg-gray-100 dark:bg-gray-700': ''}"on:mouseenter={() => highlightRow(idx)}on:click={() => {2 unmodified lines}}><span class="inline-flex items-center"><span class="text-gray-500 dark:text-gray-400">{nameSpace}</span><spanclass="mx-1 text-black dark:text-white">/</span><span class="text-black dark:text-white">{modelName}</span></span></button>{/each}
src/lib/components/InferencePlayground/InferencePlaygroundModelSelectorModal.svelte+9-9