"docs/en_US/git@developer.sourcefind.cn:OpenDAS/nni.git" did not exist on "66677498bf10a0a4c57a604bab1c73387f981636"
Unverified Commit 684bdf51 authored by Timothy Jaeryang Baek's avatar Timothy Jaeryang Baek Committed by GitHub
Browse files

Merge pull request #506 from ollama-webui/model-size

feat: display model size
parents 74da8ebf bb2563f1
......@@ -45,7 +45,10 @@
{#if model.name === 'hr'}
<hr />
{:else}
<option value={model.name} class="text-gray-700 text-lg">{model.name}</option>
<option value={model.name} class="text-gray-700 text-lg"
>{model.name +
`${model.size ? ` (${(model.size / 1024 ** 3).toFixed(1)}GB)` : ''}`}</option
>
{/if}
{/each}
</select>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment