Skip to content

Commit

Permalink
change default cnet start/end vals for nonxl controlnet pipelien
Browse files Browse the repository at this point in the history
  • Loading branch information
ErwannMillon committed Aug 11, 2023
1 parent 27c29b3 commit 0a3cbf6
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
10 changes: 9 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,14 @@ __pycache__/
*.so

# tests and logs
**.jpg
**.jpeg
*.jpeg
**/*.png
**.png
*.png
**/*.png
**/*.jpeg
tests/fixtures/cached_*_text.txt
logs/
lightning_logs/
Expand Down Expand Up @@ -173,4 +181,4 @@ tags
# ruff
.ruff_cache

wandb
wandb
4 changes: 2 additions & 2 deletions src/diffusers/pipelines/controlnet/pipeline_controlnet.py
Original file line number Diff line number Diff line change
Expand Up @@ -829,8 +829,8 @@ def __call__(
guess_mode: bool = False,
img2img_image: Optional[Union[torch.FloatTensor, PIL.Image.Image]] = None,
img2img_strength: float = 1.0,
controlnet_start: float = 1.0,
controlnet_end: float = 0.0,
controlnet_start: float = 0.0,
controlnet_end: float = 1.0,
):
r"""
Function invoked when calling the pipeline for generation.
Expand Down

0 comments on commit 0a3cbf6

Please sign in to comment.