Quazim0t0's picture
Upload 36 files
af73025 verified
raw
history blame contribute delete
339 Bytes
export type VLMContextValue = {
isLoaded: boolean;
isLoading: boolean;
error: string | null;
loadModel: (onProgress?: (msg: string) => void) => Promise<void>;
runInference: (
media: HTMLVideoElement | HTMLImageElement,
instruction: string,
onTextUpdate?: (text: string) => void,
) => Promise<string>;
};