was sending prompt to positive and negative

This commit is contained in:
Karl 2025-06-04 10:03:17 +01:00
parent b8322e1fd8
commit 4b62b5cd07
2 changed files with 3 additions and 3 deletions

View File

@ -64,7 +64,7 @@ def generate_image(
file_name: str, file_name: str,
comfy_prompt: str, comfy_prompt: str,
workflow_path: str = "./workflow_sdxl.json", workflow_path: str = "./workflow_sdxl.json",
prompt_node: str = "CLIP Text Encode (Prompt)", prompt_node: str = "Positive",
seed_node: str = "KSampler", seed_node: str = "KSampler",
seed_param: str = "seed", seed_param: str = "seed",
save_node: str = "Save Image", save_node: str = "Save Image",

View File

@ -59,7 +59,7 @@
}, },
"class_type": "CLIPTextEncode", "class_type": "CLIPTextEncode",
"_meta": { "_meta": {
"title": "CLIP Text Encode (Prompt)" "title": "Positive"
} }
}, },
"7": { "7": {
@ -72,7 +72,7 @@
}, },
"class_type": "CLIPTextEncode", "class_type": "CLIPTextEncode",
"_meta": { "_meta": {
"title": "CLIP Text Encode (Prompt)" "title": "Negative"
} }
}, },
"8": { "8": {