Spaces:
Running
Running
Download types.ts from tazmannner/loracaptionertaz: direct link, hf CLI and curl.
- Browser
- Download file 525 Bytes
-
https://huggingface.co/spaces/tazmannner/loracaptionertaz/resolve/main/types.ts
- Command line
-
hf download hf://spaces/tazmannner/loracaptionertaz/types.ts
-
curl -L -o types.ts https://huggingface.co/spaces/tazmannner/loracaptionertaz/resolve/main/types.ts
525 Bytes
| export enum GenerationStatus { | |
| IDLE = 'idle', | |
| GENERATING = 'generating', | |
| CHECKING = 'checking', | |
| SUCCESS = 'success', | |
| ERROR = 'error', | |
| } | |
| export interface MediaFile { | |
| id: string; | |
| file: File; | |
| previewUrl: string; | |
| caption: string; | |
| status: GenerationStatus; | |
| errorMessage?: string; | |
| isSelected: boolean; | |
| customInstructions: string; | |
| qualityScore?: number; | |
| // ComfyUI Preview fields | |
| comfyPreviewUrl?: string; | |
| comfyStatus?: 'idle' | 'generating' | 'success' | 'error'; | |
| comfyErrorMessage?: string; | |
| } |