Skip to content

Commit 19ab0ec

Browse files
authored
fix guider (#13147)
fix
1 parent 5b00a18 commit 19ab0ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/diffusers/guiders/guider_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ def __init__(self, start: float = 0.0, stop: float = 1.0, enabled: bool = True):
5454
self._timestep: torch.LongTensor = None
5555
self._count_prepared = 0
5656
self._input_fields: dict[str, str | tuple[str, str]] = None
57-
self._enabled = True
57+
self._enabled = enabled
5858

5959
if not (0.0 <= start < 1.0):
6060
raise ValueError(f"Expected `start` to be between 0.0 and 1.0, but got {start}.")

0 commit comments

Comments
 (0)