mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
tidy(nodes): "latents" -> "obj"
This commit is contained in:
parent
a9b1aad3d7
commit
6087ace4f1
@ -36,9 +36,9 @@ class ObjectSerializerForwardCache(ObjectSerializerBase[T]):
|
||||
if cache_item is not None:
|
||||
return cache_item
|
||||
|
||||
latent = self._underlying_storage.load(name)
|
||||
self._set_cache(name, latent)
|
||||
return latent
|
||||
obj = self._underlying_storage.load(name)
|
||||
self._set_cache(name, obj)
|
||||
return obj
|
||||
|
||||
def save(self, obj: T) -> str:
|
||||
name = self._underlying_storage.save(obj)
|
||||
|
Loading…
Reference in New Issue
Block a user