Update README.md
This commit is contained in:
@@ -1,2 +1,76 @@
|
||||
# ComfyUI-node-Lilly
|
||||
|
||||
## install
|
||||
ComfyUI_windows_portable\ComfyUI\custom_nodes 에 넣기
|
||||
|
||||
|
||||
## wildcards
|
||||
|
||||
### ex
|
||||
|
||||
- form
|
||||
a{__b__|{c|}|{__d__|e|}|f|}g____ __my__
|
||||
|
||||
- to
|
||||
aeg __quality_my__, __breasts__, { |__character_dress__|__dress_my__}, __shoulder__, {high heels,| } {choker,| } {<lora:__lora_lst__:__rora_num__>,| } NSFW, __NSFW_my__, { |__style_my__,}
|
||||
|
||||
|
||||
### run sample
|
||||
|
||||
```
|
||||
python wildcards.py
|
||||
```
|
||||
|
||||
### python sample
|
||||
|
||||
```
|
||||
import wildcards as w
|
||||
|
||||
# 가져올 파일 목록. get wildcards file
|
||||
w.card_path=os.path.dirname(__file__)+"\\wildcards\\**\\*.txt"
|
||||
|
||||
# 실행 run
|
||||
print(w.run("a{__b__|{c|}|{__d__|e|}|f|}g____ __my__"))
|
||||
```
|
||||
|
||||
###
|
||||
|
||||
```
|
||||
wildcards.py # modul file
|
||||
wildcards/*.txt # wildcards file
|
||||
wildcards/**/*.txt # wildcards file
|
||||
```
|
||||
|
||||
### txt file (UTF8)
|
||||
|
||||
```
|
||||
# 주석
|
||||
a,b
|
||||
{b|c|__anotherfile__}
|
||||
__anotherfile__
|
||||
```
|
||||
result
|
||||
```
|
||||
a,b
|
||||
b
|
||||
c
|
||||
__anotherfile__
|
||||
```
|
||||
|
||||
## for ComfyUI
|
||||
|
||||

|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## random_sampler_node.py
|
||||
|
||||

|
||||
|
||||
## VAELoaderDecode.py
|
||||
|
||||

|
||||
|
||||
Reference in New Issue
Block a user