From 6ceb41f92eac6737c9a5fd5fd628b325c79a7f06 Mon Sep 17 00:00:00 2001 From: chflame Date: Mon, 17 Jun 2024 20:12:16 +0800 Subject: [PATCH] update readme --- README.MD | 2 +- README_CN.MD | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.MD b/README.MD index 6af243f..4938ab8 100644 --- a/README.MD +++ b/README.MD @@ -1180,7 +1180,7 @@ Node Options: * when_True: This item is output when the condition is True. * when_False: This item is output when the condition is False. -### SwiitchCase +### SwitchCase ![image](image/switch_case_example.jpg) Switches the output based on the matching string. It can be used for any type of data switching, including but not limited to numeric values, strings, pictures, masks, models, latent, pipe pipelines, etc. Supports up to 3 sets of case switches. Compare case to ```switch_condition``` , if the same, output the corresponding input. If there are the same cases, the output is prioritized in order. If there is no matching case, the default input is output. diff --git a/README_CN.MD b/README_CN.MD index e8e02ac..52de01c 100644 --- a/README_CN.MD +++ b/README_CN.MD @@ -1171,7 +1171,7 @@ BooleanOperator的升级版,增加了节点内数值输入,增加了大于 * when_False: 当条件为False时,将输出此项。 -### SwiitchCase +### SwitchCase ![image](image/switch_case_example.jpg) 根据匹配字符串切换输出。可用于任意类型的数据切换,包括且不限于数值、字符串、图片、遮罩、模型、latent、pipe管线等。最多支持3组case切换。 将case与```switch_condition```进行比较,如果相同,则输出对应的输入项。如果有相同的case则按顺序优先输出。如果没有匹配的case,则输出默认的输入项。请注意,字符串区分大小写和中英文全角半角。