Thomas G. Lopes
some updates
3df1e9f
raw
history blame
286 Bytes
import { page } from "$app/stores";
import type { ModelWithTokenizer } from "$lib/types.js";
import { readable } from "svelte/store";
export const models = readable<ModelWithTokenizer[]>(undefined, set => {
const unsub = page.subscribe($p => set($p.data?.models));
return unsub;
});