Bumped depreciated Diffusers version to 0.14.0 because I was getting error about init_image in kwargs, which I can't find
Browse files- pipeline.py +1 -1
pipeline.py
CHANGED
@@ -762,7 +762,7 @@ class StableDiffusionLongPromptWeightingPipeline(StableDiffusionPipeline):
|
|
762 |
(nsfw) content, according to the `safety_checker`.
|
763 |
"""
|
764 |
message = "Please use `image` instead of `init_image`."
|
765 |
-
init_image = deprecate("init_image", "0.
|
766 |
image = init_image or image
|
767 |
|
768 |
# 0. Default height and width to unet
|
|
|
762 |
(nsfw) content, according to the `safety_checker`.
|
763 |
"""
|
764 |
message = "Please use `image` instead of `init_image`."
|
765 |
+
init_image = deprecate("init_image", "0.14.0", message, take_from=kwargs)
|
766 |
image = init_image or image
|
767 |
|
768 |
# 0. Default height and width to unet
|