Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/diffusers/guiders/tangential_classifier_free_guidance.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2026 The HuggingFace Team. All rights reserved.
# Copyright 2026 The HuggingFace Team. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -101,7 +101,7 @@ def forward(self, pred_cond: torch.Tensor, pred_uncond: torch.Tensor | None = No

@property
def is_conditional(self) -> bool:
return self._num_outputs_prepared == 1
return self._count_prepared == 1

@property
def num_conditions(self) -> int:
Expand Down
Loading