This commit is contained in:
robtl2
2024-11-13 22:37:29 +08:00
parent e3b9a275b4
commit efa3fdce3d
3 changed files with 22 additions and 4 deletions
+2 -2
View File
@@ -12,7 +12,7 @@ class ImageReceiver:
RETURN_TYPES = ("IMAGE",)
RETURN_NAMES = ("image",)
FUNCTION = "execute"
CATEGORY = "SimpleStuff"
CATEGORY = "cÖmfyBridge"
OUTPUT_NODE = True
def __init__(self):
@@ -46,7 +46,7 @@ class ImageSender:
RETURN_TYPES = ()
RETURN_NAMES = ()
FUNCTION = "execute"
CATEGORY = "SimpleStuff"
CATEGORY = "cÖmfyBridge"
OUTPUT_NODE = True
def __init__(self):
+20
View File
@@ -0,0 +1,20 @@
# cÖmfyBridge
A socket service that helps third-party DCC software maintain long-term image exchange with comfyUI.
This plugin provides two nodes:
There is an input node `ImageReceive੭˚⁺` and an output node `ImageSende੭⁺˚`.
Both are stored in the cÖmfyBridge category.
`ImageReceive੭˚⁺` is used to receive images from other software.
`ImageSende੭⁺˚` is used to send images to other software.
## Installation
You can install either though comfy manager or by cloning this repository into the custom nodes directory.
## User Interface
You can add multiple `ImageReceive੭˚⁺` or `ImageSende੭⁺˚` nodes to the comfyUI canvas.
-2
View File
@@ -226,9 +226,7 @@ def SetupOperations(client_socket):
def StartComfyBridge():
global connected
global server_thread
print("start ComfyBridge")
get_bridge_port_in_setting()
connected = True
server_thread = threading.Thread(target=startSocketServer)
server_thread.daemon = True