anycoder-05c898cf / index.html
nick1943's picture
Upload folder using huggingface_hub
e500c66 verified
Raw History Blame Contribute Delete
1.07 kB
<!DOCTYPE html>
<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>