7357f85 5acf3a4
1
2
3
4
5
6
7
8
9
import type { ModelWithTokenizer } from "$lib/types.js"; import type { PageLoad } from "./$types.js"; export const load: PageLoad = async ({ fetch }) => { const res = await fetch("/api/models"); const models: ModelWithTokenizer[] = await res.json(); return { models }; };