From 1f27ddc07d8bdd2433857b898f931fbd84e0c153 Mon Sep 17 00:00:00 2001 From: psychedelicious <4822129+psychedelicious@users.noreply.github.com> Date: Thu, 8 Feb 2024 00:23:47 +1100 Subject: [PATCH] tidy(nodes): minor spelling correction --- invokeai/app/services/shared/invocation_context.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/invokeai/app/services/shared/invocation_context.py b/invokeai/app/services/shared/invocation_context.py index 8c5a821fd0..828d3d8490 100644 --- a/invokeai/app/services/shared/invocation_context.py +++ b/invokeai/app/services/shared/invocation_context.py @@ -223,8 +223,8 @@ class TensorsInterface(InvocationContextInterface): :param tensor: The tensor to save. """ - tensor_id = self._services.tensors.save(obj=tensor) - return tensor_id + name = self._services.tensors.save(obj=tensor) + return name def load(self, name: str) -> Tensor: """ @@ -243,8 +243,8 @@ class ConditioningInterface(InvocationContextInterface): :param conditioning_context_data: The conditioning data to save. """ - conditioning_id = self._services.conditioning.save(obj=conditioning_data) - return conditioning_id + name = self._services.conditioning.save(obj=conditioning_data) + return name def load(self, name: str) -> ConditioningFieldData: """