This commit is contained in:
justumen
2025-03-19 17:36:25 +01:00
parent 44d69e8907
commit 39dfb0220a
76 changed files with 3207 additions and 955 deletions

View File

@@ -8,6 +8,7 @@ import os
import io
import sys
import random
# from comfy_execution.graph import ExecutionBlocker
class Everything(str):
def __ne__(self, __value: object) -> bool:
@@ -68,6 +69,7 @@ class PauseResume:
PauseResume.should_stop = False # Reset for next run
PauseResume.is_paused = True
raise Exception("Workflow stopped by user")
# return (ExecutionBlocker("Workflow stopped by user"),) # Return ExecutionBlocker to stop gracefully, but error on next node.
PauseResume.is_paused = True
PauseResume.should_stop = False