Compare commits
36
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9857c662af | ||
|
|
32f18ef338 | ||
|
|
d86d9f902c | ||
|
|
f600b1ef90 | ||
|
|
72484d1034 | ||
|
|
e7b444316f | ||
|
|
b9db1c7c4c | ||
|
|
3ee001a3fa | ||
|
|
3fcd708dc6 | ||
|
|
cb5ef8d97a | ||
|
|
24fe09ba4e | ||
|
|
1c7149a811 | ||
|
|
b01bdc3d50 | ||
|
|
5ffd94d7d2 | ||
|
|
a433b246a7 | ||
|
|
bdd0c62665 | ||
|
|
1c763f743c | ||
|
|
c223603100 | ||
|
|
c9efa87291 | ||
|
|
e15d4d693c | ||
|
|
26d5bfc961 | ||
|
|
cdb6c418eb | ||
|
|
dc08fa93b7 | ||
|
|
e29f3ca2d0 | ||
|
|
ee186a73e5 | ||
|
|
7440b309fc | ||
|
|
2ccc697311 | ||
|
|
4559060535 | ||
|
|
60ceddbd73 | ||
|
|
6fd28cfca7 | ||
|
|
11b1313ed4 | ||
|
|
9be7133e48 | ||
|
|
22e78f08eb | ||
|
|
39befe2a34 | ||
|
|
ea9017862f | ||
|
|
6ae6cf0d65 |
@@ -6,12 +6,6 @@ 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:
|
||||
@@ -40,9 +34,16 @@ If you encounter issues as a user or if you're a node developer and Prompt Contr
|
||||
|
||||
## Requirements
|
||||
|
||||
The v3 node schema uses features that require at least ComfyUI v0.8.0
|
||||
For LoRA scheduling to work, you'll need at least version 0.3.7 of ComfyUI (0.3.36 of ComfyUI desktop).
|
||||
|
||||
If you run into problems, update ComfyUI first.
|
||||
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.
|
||||
|
||||
# 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_OLD_PARSER", "0") != "0":
|
||||
log.info("Using new parser implementation. Set PC_USE_OLD_PARSER=1 to use old parser instead")
|
||||
if os.environ.get("PC_USE_NEW_PARSER", "0") == "1":
|
||||
log.info("Using new parsy parser")
|
||||
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 = "3.0.0-beta.1"
|
||||
version = "2.1.2"
|
||||
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"]
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
# 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