Skip to content

Commit eb2ef31

Browse files
authored
fix default value for attend-and-excite (#3099)
* fix default
1 parent 5c9dd0a commit eb2ef31

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/diffusers/pipelines/stable_diffusion/pipeline_stable_diffusion_attend_and_excite.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -724,7 +724,7 @@ def __call__(
724724
max_iter_to_alter: int = 25,
725725
thresholds: dict = {0: 0.05, 10: 0.5, 20: 0.8},
726726
scale_factor: int = 20,
727-
attn_res: Optional[Tuple[int]] = None,
727+
attn_res: Optional[Tuple[int]] = (16, 16),
728728
):
729729
r"""
730730
Function invoked when calling the pipeline for generation.

0 commit comments

Comments
 (0)