Negative_prompt, num_images_per_prompt not work

I use stable diffusion inpaint pipeline. But negative_prompt, num_images_per_prompt parameter are not work.

TypeError: call() got an unexpected keyword argument ‘num_images_per_prompt’

how can I use them?

Hi @HmmYa!

Those features should work if you upgrade to the latest version of diffusers that was released yesterday. pip install -U diffusers should suffice; after that, you can verify that diffusers.__version__ is 0.4.1 or better.

Thank you!!

1 Like