Spaces:
Configuration error
Configuration error
Download rgthree-comfy/src_web/scripts_comfy/widgets.ts from JasonSmithSO/FooocusEnhanced: direct link, hf CLI and curl.
- Browser
- Download file 502 Bytes
-
https://huggingface.co/spaces/JasonSmithSO/FooocusEnhanced/resolve/main/rgthree-comfy/src_web/scripts_comfy/widgets.ts
- Command line
-
hf download hf://spaces/JasonSmithSO/FooocusEnhanced/rgthree-comfy/src_web/scripts_comfy/widgets.ts
-
curl -L -o widgets.ts https://huggingface.co/spaces/JasonSmithSO/FooocusEnhanced/resolve/main/rgthree-comfy/src_web/scripts_comfy/widgets.ts
502 Bytes
| import type { LGraphNode } from "typings/litegraph.js"; | |
| import type { ComfyApp, ComfyWidget } from "../typings/comfy.js"; | |
| type ComfyWidgetFn = ( | |
| node: LGraphNode, | |
| inputName: string, | |
| inputData: any, | |
| app: ComfyApp, | |
| ) => { widget: ComfyWidget }; | |
| /** | |
| * A dummy ComfyWidgets that we can import from our code, which we'll rewrite later to the comfyui | |
| * hosted widgets.js | |
| */ | |
| export declare const ComfyWidgets: { | |
| COMBO: ComfyWidgetFn; | |
| STRING: ComfyWidgetFn; | |
| [key: string]: ComfyWidgetFn; | |
| }; | |