Spaces:
Running
Running
Download src/types/vlm.ts from philincloud/fastvlm-webgpu: direct link, hf CLI and curl.
- Browser
- Download file 309 Bytes
-
https://huggingface.co/spaces/philincloud/fastvlm-webgpu/resolve/main/src/types/vlm.ts
- Command line
-
hf download hf://spaces/philincloud/fastvlm-webgpu/src/types/vlm.ts
-
curl -L -o vlm.ts https://huggingface.co/spaces/philincloud/fastvlm-webgpu/resolve/main/src/types/vlm.ts
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>; | |
| }; | |