Fix app.py due to diffusers's deprecate func

This commit is contained in:
lnyan 2022-12-29 22:56:22 +08:00
parent 9f60eb3eef
commit 8a962cd377

2
app.py
View File

@ -701,8 +701,6 @@ class StableDiffusion:
prompt=prompt,
init_image=input_image,
image=input_image,
width=process_width,
height=process_height,
mask_image=mask_image.resize((process_width, process_height)),
**extra_kwargs,
)["images"]