Compare commits
40
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ff111a9f7c | ||
|
|
ab1cf5949e | ||
|
|
105562a5bb | ||
|
|
e337ecc019 | ||
|
|
b2bb7b9960 | ||
|
|
f1ade19345 | ||
|
|
15c115c7f3 | ||
|
|
97f050c264 | ||
|
|
ca5848a8aa | ||
|
|
24240aac2d | ||
|
|
883ea6a96d | ||
|
|
49b761ae5b | ||
|
|
bd0dd00d8c | ||
|
|
3f303cb33a | ||
|
|
d009bb782b | ||
|
|
eaf5fa20c4 | ||
|
|
2becb5cdc6 | ||
|
|
e1b12acbdf | ||
|
|
3ea605fbe0 | ||
|
|
f4d5477d4c | ||
|
|
5cb18ab5a9 | ||
|
|
fc5c0a1857 | ||
|
|
f9769fe90c | ||
|
|
09438a35f4 | ||
|
|
d0d34f8b2f | ||
|
|
dcc9379d40 | ||
|
|
9231ec4936 | ||
|
|
0473d90446 | ||
|
|
138df090a6 | ||
|
|
c89dcb135d | ||
|
|
c53717101c | ||
|
|
d185c72a16 | ||
|
|
805ffbf463 | ||
|
|
d14f5b789a | ||
|
|
deba0a0642 | ||
|
|
f98bf25a83 | ||
|
|
2c8727a75a | ||
|
|
86ec30c028 | ||
|
|
e0efac1ebc | ||
|
|
68766215f2 |
@@ -6,6 +6,12 @@ Prompt Control comes with `PCTextEncode`, which provides advanced text encoding
|
||||
|
||||
A `Basic Text to Image` template is included with the extension, and can be loaded from ComfyUI's template library.
|
||||
|
||||
> [!NOTE]
|
||||
> v3.0.0 is backwards compatible with existing workflows, but requires at least ComfyUI v0.8.0
|
||||
> The parser was rewritten using parsy. It is intended to have the same behaviour as the old parser, but is **significantly** faster.
|
||||
> Please report any bugs or incompatibilities you find.
|
||||
|
||||
|
||||
## What can it do?
|
||||
|
||||
You can use text prompts to control the following:
|
||||
@@ -34,16 +40,9 @@ If you encounter issues as a user or if you're a node developer and Prompt Contr
|
||||
|
||||
## Requirements
|
||||
|
||||
For LoRA scheduling to work, you'll need at least version 0.3.7 of ComfyUI (0.3.36 of ComfyUI desktop).
|
||||
The v3 node schema uses features that require at least ComfyUI v0.8.0
|
||||
|
||||
You need to have `lark` installed in your Python environment for parsing to work (If you reuse A1111's venv, it'll already be there).
|
||||
|
||||
If you use the portable version of ComfyUI on Windows with its embedded Python, you must open a terminal in the ComfyUI installation directory and run the command:
|
||||
```
|
||||
.\python_embeded\python.exe -m pip install lark
|
||||
```
|
||||
|
||||
Then restart ComfyUI afterwards.
|
||||
If you run into problems, update ComfyUI first.
|
||||
|
||||
# Core nodes
|
||||
|
||||
|
||||
@@ -12,8 +12,8 @@ from comfy_execution.graph_utils import GraphBuilder
|
||||
from .utils import consolidate_schedule, find_nonscheduled_loras, get_function
|
||||
|
||||
log = logging.getLogger("comfyui-prompt-control")
|
||||
if os.environ.get("PC_USE_NEW_PARSER", "0") == "1":
|
||||
log.info("Using new parsy parser")
|
||||
if os.environ.get("PC_USE_OLD_PARSER", "0") != "0":
|
||||
log.info("Using new parser implementation. Set PC_USE_OLD_PARSER=1 to use old parser instead")
|
||||
from .parser_parsy import parse_prompt_schedules as parse_prompt_schedules
|
||||
else:
|
||||
from .parser import parse_prompt_schedules
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
[project]
|
||||
name = "comfyui-prompt-control"
|
||||
description = "Provides nodes for prompt editing and LoRA scheduling, advanced regional prompting (including attention masking) and more, all controlled through your text prompt"
|
||||
version = "2.1.2"
|
||||
version = "3.0.0-beta.1"
|
||||
license = { file = "LICENSE" }
|
||||
# some lark versions older than 1.1.9 apparently have a bug that breaks things, see https://github.com/asagi4/comfyui-prompt-control/issues/35
|
||||
dependencies = ["lark >= 1.1.9"]
|
||||
|
||||
@@ -1,2 +0,0 @@
|
||||
# some lark versions older than 1.1.9 apparently have a bug that breaks things, see https://github.com/asagi4/comfyui-prompt-control/issues/35
|
||||
lark >= 1.1.9
|
||||
Reference in New Issue
Block a user