Download tools/ui/src/lib/components/app/models/ModelLoadHighlight.svelte from Parakon/parakon-runtime: direct link, hf CLI and curl.
- Browser
- Download file 395 Bytes
-
https://huggingface.co/Parakon/parakon-runtime/resolve/main/tools/ui/src/lib/components/app/models/ModelLoadHighlight.svelte
- Command line
-
hf download hf://Parakon/parakon-runtime/tools/ui/src/lib/components/app/models/ModelLoadHighlight.svelte
-
curl -L -o ModelLoadHighlight.svelte https://huggingface.co/Parakon/parakon-runtime/resolve/main/tools/ui/src/lib/components/app/models/ModelLoadHighlight.svelte
395 Bytes
| <script lang="ts"> | |
| let { percent }: { percent: number } = $props(); | |
| </script> | |
| <!-- thin determinate load bar pinned to the bottom edge, pulsing while it fills --> | |
| <div class="pointer-events-none absolute inset-x-0 bottom-0 h-0.5 overflow-hidden rounded-b-sm"> | |
| <div | |
| class="h-full animate-pulse bg-primary transition-[width] duration-200 ease-out" | |
| style="width: {percent}%" | |
| ></div> | |
| </div> | |