Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
ComfyUI
Commits
3a7c3acc
"...git@developer.sourcefind.cn:hehl2/torchaudio.git" did not exist on "3047dc9b500266d8197139fad5ef3a8a4a459985"
Commit
3a7c3acc
authored
May 10, 2023
by
comfyanonymous
Browse files
Send websocket message with list of cached nodes right before execution.
parent
602095f6
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
execution.py
execution.py
+2
-0
No files found.
execution.py
View file @
3a7c3acc
...
@@ -169,6 +169,8 @@ class PromptExecutor:
...
@@ -169,6 +169,8 @@ class PromptExecutor:
recursive_output_delete_if_changed
(
prompt
,
self
.
old_prompt
,
self
.
outputs
,
x
)
recursive_output_delete_if_changed
(
prompt
,
self
.
old_prompt
,
self
.
outputs
,
x
)
current_outputs
=
set
(
self
.
outputs
.
keys
())
current_outputs
=
set
(
self
.
outputs
.
keys
())
if
self
.
server
.
client_id
is
not
None
:
self
.
server
.
send_sync
(
"execution_cached"
,
{
"nodes"
:
list
(
current_outputs
)
},
self
.
server
.
client_id
)
executed
=
set
()
executed
=
set
()
try
:
try
:
to_execute
=
[]
to_execute
=
[]
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment