fix: external enum node value replace

This commit is contained in:
BennyKok
2025-04-22 10:27:55 +08:00
parent e18d980b77
commit 438401b8c7
+3
View File
@@ -413,6 +413,9 @@ def apply_inputs_to_workflow(workflow_api: Any, inputs: Any, sid: str = None):
if value["class_type"] == "ComfyUIDeployExternalImageBatch":
value["inputs"]["images"] = new_value
if value["class_type"] == "ComfyUIDeployExternalEnum":
value["inputs"]["default_value"] = new_value
if value["class_type"] == "ComfyUIDeployExternalLora":
value["inputs"]["lora_url"] = new_value