1
0
mirror of https://github.com/huggingface/diffusers.git synced 2026-01-29 07:22:12 +03:00

fix default value for attend-and-excite (#3099)

* fix default
This commit is contained in:
YiYi Xu
2023-04-13 17:54:54 -10:00
committed by Daniel Gu
parent 7f3cb6d29f
commit 1184b36d2f

View File

@@ -724,7 +724,7 @@ class StableDiffusionAttendAndExcitePipeline(DiffusionPipeline, TextualInversion
max_iter_to_alter: int = 25,
thresholds: dict = {0: 0.05, 10: 0.5, 20: 0.8},
scale_factor: int = 20,
attn_res: Optional[Tuple[int]] = None,
attn_res: Optional[Tuple[int]] = (16, 16),
):
r"""
Function invoked when calling the pipeline for generation.