Spaces:
Running
Running
Download src/types/index.ts from philincloud/fastvlm-webgpu: direct link, hf CLI and curl.
- Browser
- Download file 578 Bytes
-
https://huggingface.co/spaces/philincloud/fastvlm-webgpu/resolve/main/src/types/index.ts
- Command line
-
hf download hf://spaces/philincloud/fastvlm-webgpu/src/types/index.ts
-
curl -L -o index.ts https://huggingface.co/spaces/philincloud/fastvlm-webgpu/resolve/main/src/types/index.ts
578 Bytes
| export type AppState = "requesting-permission" | "welcome" | "loading" | "captioning"; | |
| export interface GlassEffectProps { | |
| baseFrequency?: number; | |
| numOctaves?: number; | |
| scale?: number; | |
| bgColor?: string; | |
| highlight?: string; | |
| } | |
| export interface WebcamPermissionError { | |
| type: "general" | "https" | "not-supported" | "permission"; | |
| message: string; | |
| details: string; | |
| } | |
| export interface Position { | |
| x: number; | |
| y: number; | |
| } | |
| export interface Dimensions { | |
| width: number; | |
| height: number; | |
| } | |
| export type InitialPosition = "bottom-left" | "bottom-right" | Position; | |