From 4d05c4ff66bc614a266da75368f8408aa774f68c Mon Sep 17 00:00:00 2001 From: psychedelicious <4822129+psychedelicious@users.noreply.github.com> Date: Sun, 18 Feb 2024 11:44:08 +1100 Subject: [PATCH] tidy(nodes): remove extraneous comments --- invokeai/app/services/shared/invocation_context.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/invokeai/app/services/shared/invocation_context.py b/invokeai/app/services/shared/invocation_context.py index 317cbdbb23..6b6379dc5d 100644 --- a/invokeai/app/services/shared/invocation_context.py +++ b/invokeai/app/services/shared/invocation_context.py @@ -388,11 +388,6 @@ class UtilInterface(InvocationContextInterface): :param base_model: The base model for the current denoising step. """ - # The step callback needs access to the events and the invocation queue services, but this - # represents a dangerous level of access. - # - # We wrap the step callback so that nodes do not have direct access to these services. - stable_diffusion_step_callback( context_data=self._context_data, intermediate_state=intermediate_state, @@ -458,7 +453,6 @@ def build_invocation_context( """ def is_canceled() -> bool: - """Checks if the current invocation has been canceled.""" return cancel_event.is_set() logger = LoggerInterface(services=services, context_data=context_data)