mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2025-08-03 07:26:31 +08:00
Add a button to interrupt processing to the ui.
This commit is contained in:
4
nodes.py
4
nodes.py
@@ -45,8 +45,8 @@ def filter_files_extensions(files, extensions):
|
||||
def before_node_execution():
|
||||
model_management.throw_exception_if_processing_interrupted()
|
||||
|
||||
def interrupt_processing():
|
||||
model_management.interrupt_current_processing()
|
||||
def interrupt_processing(value=True):
|
||||
model_management.interrupt_current_processing(value)
|
||||
|
||||
class CLIPTextEncode:
|
||||
@classmethod
|
||||
|
Reference in New Issue
Block a user