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
ff249a2315
commit
c1e5cd5893
@ -36,9 +36,9 @@ class ObjectSerializerForwardCache(ObjectSerializerBase[T]):
|
|||||||
if cache_item is not None:
|
if cache_item is not None:
|
||||||
return cache_item
|
return cache_item
|
||||||
|
|
||||||
latent = self._underlying_storage.load(name)
|
obj = self._underlying_storage.load(name)
|
||||||
self._set_cache(name, latent)
|
self._set_cache(name, obj)
|
||||||
return latent
|
return obj
|
||||||
|
|
||||||
def save(self, obj: T) -> str:
|
def save(self, obj: T) -> str:
|
||||||
name = self._underlying_storage.save(obj)
|
name = self._underlying_storage.save(obj)
|
||||||
|
Loading…
Reference in New Issue
Block a user