Show model size

This commit is contained in:
Samuel Skottenborg 2023-12-11 17:23:42 +01:00
parent e55a5dafde
commit 7c0332f963

View file

@ -761,7 +761,7 @@
{/if} {/if}
{#each $models.filter((m) => m.size != null) as model} {#each $models.filter((m) => m.size != null) as model}
<option value={model.name} class="bg-gray-100 dark:bg-gray-700" <option value={model.name} class="bg-gray-100 dark:bg-gray-700"
>{model.name}</option >{model.name + ' (' + (model.size / 1024 ** 3).toFixed(1) + ' GB)'}</option
> >
{/each} {/each}
</select> </select>