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