mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-16 03:47:49 +01:00
enh: comfyui seed node support
This commit is contained in:
@@ -133,7 +133,7 @@ async def comfyui_generate_image(
|
||||
else random.randint(0, 18446744073709551614)
|
||||
)
|
||||
for node_id in node.node_ids:
|
||||
workflow[node.node_id]["inputs"]["seed"] = seed
|
||||
workflow[node.node_id]["inputs"][node.key] = seed
|
||||
else:
|
||||
for node_id in node.node_ids:
|
||||
workflow[node_id]["inputs"][node.key] = node.value
|
||||
|
||||
Reference in New Issue
Block a user