Xenova's picture
Xenova HF Staff
Upload 32 files
f581cc4 verified
raw
history blame contribute delete
309 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>;
};