Fixed use of tabs instead of spaces for indentation, caused error
Browse files- pipeline.py +1 -1
pipeline.py
CHANGED
|
@@ -672,7 +672,7 @@ class StableDiffusionLongPromptWeightingPipeline(DiffusionPipeline):
|
|
| 672 |
list of `bool`s denoting whether the corresponding generated image likely represents "not-safe-for-work"
|
| 673 |
(nsfw) content, according to the `safety_checker`.
|
| 674 |
"""
|
| 675 |
-
|
| 676 |
init_image = deprecate("init_image", "0.12.0", message, take_from=kwargs)
|
| 677 |
image = init_image or image
|
| 678 |
|
|
|
|
| 672 |
list of `bool`s denoting whether the corresponding generated image likely represents "not-safe-for-work"
|
| 673 |
(nsfw) content, according to the `safety_checker`.
|
| 674 |
"""
|
| 675 |
+
message = "Please use `image` instead of `init_image`."
|
| 676 |
init_image = deprecate("init_image", "0.12.0", message, take_from=kwargs)
|
| 677 |
image = init_image or image
|
| 678 |
|