mirror of
https://github.com/invoke-ai/InvokeAI.git
synced 2026-01-15 04:47:54 -05:00
tidy(nodes): "latents" -> "obj"
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user