Spaces:
Running
Running
Download index.html from nick1943/anycoder-05c898cf: direct link, hf CLI and curl.
- Browser
- Download file 1.07 kB
-
https://huggingface.co/spaces/nick1943/anycoder-05c898cf/resolve/main/index.html
- Command line
-
hf download hf://spaces/nick1943/anycoder-05c898cf/index.html
-
curl -L -o index.html https://huggingface.co/spaces/nick1943/anycoder-05c898cf/resolve/main/index.html
1.07 kB
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>ComfyUI Workflow</title> | |
| <style> | |
| body { | |
| font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', sans-serif; | |
| background-color: #000000; | |
| color: #f5f5f7; | |
| padding: 40px; | |
| } | |
| pre { | |
| background: #1d1d1f; | |
| padding: 24px; | |
| border-radius: 12px; | |
| overflow-x: auto; | |
| } | |
| </style> | |
| </head> | |
| <body> | |
| <h1>ComfyUI Workflow</h1> | |
| <p>Error: Invalid JSON format</p> | |
| <pre>class MyNode: | |
| @classmethod | |
| def INPUT_TYPES(cls): | |
| return { | |
| "required": { | |
| "image": ("IMAGE",), | |
| "value": ("FLOAT", {"default": 1.0, "min": 0.0, "max": 10.0}), | |
| }, | |
| } | |
| RETURN_TYPES = ("IMAGE",) | |
| FUNCTION = "process" | |
| CATEGORY = "My Category" | |
| def process(self, image, value): | |
| return (image * value,)</pre> | |
| </body> | |
| </html> |