1
0
mirror of https://github.com/huggingface/diffusers.git synced 2026-01-29 07:22:12 +03:00
This commit is contained in:
yiyixuxu
2025-07-22 00:37:59 +02:00
parent 7add115b65
commit 0be3dec1f7

View File

@@ -212,8 +212,8 @@ class PipelineState:
def __getattr__(self, name):
"""
Allow attribute access to intermediate values.
If an attribute is not found in the object, look for it in the intermediates dict.
Allow attribute access to intermediate values. If an attribute is not found in the object, look for it in the
intermediates dict.
"""
if name in self.intermediates:
return self.intermediates[name]