From 438401b8c72c5f3c642d3138ce252fc54ac2b36c Mon Sep 17 00:00:00 2001 From: BennyKok Date: Tue, 22 Apr 2025 10:27:55 +0800 Subject: [PATCH] fix: external enum node value replace --- custom_routes.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/custom_routes.py b/custom_routes.py index 5d63b71..6013551 100644 --- a/custom_routes.py +++ b/custom_routes.py @@ -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