mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-12 04:15:25 +00:00
fix max seed for comfyui
This commit is contained in:
parent
14398ab628
commit
94f56db5ee
1 changed files with 1 additions and 1 deletions
|
|
@ -161,7 +161,7 @@ async def comfyui_generate_image(
|
|||
seed = (
|
||||
payload.seed
|
||||
if payload.seed
|
||||
else random.randint(0, 18446744073709551614)
|
||||
else random.randint(0, 1125899906842624)
|
||||
)
|
||||
for node_id in node.node_ids:
|
||||
workflow[node_id]["inputs"][node.key] = seed
|
||||
|
|
|
|||
Loading…
Reference in a new issue