README 파일에 예제 워크플로우 정보 추가

This commit is contained in:
Jisung, Ahn
2025-05-30 10:54:45 +09:00
parent 4ed88e1694
commit 1298fd2c2c
2 changed files with 24 additions and 0 deletions
+12
View File
@@ -8,6 +8,8 @@ A collection of logic and utility nodes for ComfyUI to enhance workflow capabili
ComfyUI Logic Support is a custom node extension that provides various logic and utility nodes to enhance your ComfyUI workflows. These nodes enable more complex conditional logic, string manipulation, and numerical operations.
![Example Workflow](logic_support_example.png)
## Installation
1. Clone this repository into your ComfyUI custom_nodes directory:
@@ -110,3 +112,13 @@ MIT License
## Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
## Example Workflow
The repository includes an example workflow (`logic_support_example.json`) that demonstrates how to use the logic nodes to create dynamic text prompts based on numeric inputs like age. This workflow uses:
- `NumberRangeIndex` to determine age ranges
- `StringSwitchByNumber` to select appropriate text based on the age range
- `StringConcatenator` to combine multiple text elements into a final prompt
You can load this example in ComfyUI by using the "Load" button and selecting the `logic_support_example.json` file.
+12
View File
@@ -6,6 +6,8 @@ ComfyUI 워크플로우 기능을 향상시키기 위한 로직 및 유틸리티
ComfyUI Logic Support는 ComfyUI 워크플로우를 향상시키기 위한 다양한 로직 및 유틸리티 노드를 제공하는 커스텀 노드 확장입니다. 이 노드들을 통해 더 복잡한 조건부 로직, 문자열 조작 및 숫자 연산을 수행할 수 있습니다.
![예제 워크플로우](logic_support_example.png)
## 설치 방법
1. 이 저장소를 ComfyUI의 custom_nodes 디렉토리에 클론합니다:
@@ -108,3 +110,13 @@ MIT License
## 기여하기
기여는 언제나 환영합니다! Pull Request를 제출해 주세요.
## 예제 워크플로우
이 저장소에는 나이와 같은 숫자 입력을 기반으로 동적 텍스트 프롬프트를 생성하는 방법을 보여주는 예제 워크플로우(`logic_support_example.json`)가 포함되어 있습니다. 이 워크플로우는 다음을 사용합니다:
- `NumberRangeIndex`: 나이 범위를 결정하는 데 사용
- `StringSwitchByNumber`: 나이 범위에 따라 적절한 텍스트를 선택하는 데 사용
- `StringConcatenator`: 여러 텍스트 요소를 최종 프롬프트로 결합하는 데 사용
ComfyUI에서 "Load" 버튼을 사용하여 `logic_support_example.json` 파일을 선택하면 이 예제를 로드할 수 있습니다.