lora-studio / src /lib /stores /use-generation.ts
enzostvs's picture
enzostvs HF staff
store generation + add loading
3b4bd9f
raw
history blame
287 Bytes
/* eslint-disable @typescript-eslint/no-explicit-any */
import { writable } from "svelte/store";
// eslint-disable-next-line @typescript-eslint/no-explicit-any
export const generationStore = writable<{
form?: Record<string, any>,
image?: string | ArrayBuffer | null,
}>(undefined);