Spaces:
Runtime error
Runtime error
Download src/lib/stores/models.ts from FallnAI/LLM-Inference: direct link, hf CLI and curl.
- Browser
- Download file 283 Bytes
-
https://huggingface.co/spaces/FallnAI/LLM-Inference/resolve/main/src/lib/stores/models.ts
- Command line
-
hf download hf://spaces/FallnAI/LLM-Inference/src/lib/stores/models.ts
-
curl -L -o models.ts https://huggingface.co/spaces/FallnAI/LLM-Inference/resolve/main/src/lib/stores/models.ts
283 Bytes
| import { page } from "$app/stores"; | |
| import type { ModelWithTokenizer } from "$lib/types"; | |
| import { readable } from "svelte/store"; | |
| export const models = readable<ModelWithTokenizer[]>(undefined, set => { | |
| const unsub = page.subscribe($p => set($p.data?.models)); | |
| return unsub; | |
| }); | |