fix: External Text Input default value not working

This commit is contained in:
bennykok committed 2024-02-08 23:09:38 +08:00
1 parent 5ddbfdf44b
commit 4c32248d86
2 files changed
+6 -3

No files matched your search

+5
View File
@@ -91,6 +91,11 @@ export const createRun = withServerPromise(
if (node.inputs["input_id"] === key) {
node.inputs["input_id"] = inputs[key];
}
// Fix for external text default value
if (node.class_type == "ComfyUIDeployExternalText") {
node.inputs["default_value"] = inputs[key];
}
});
}
}