Discussion about the pipelines API
Thread to collect all feedback regarding the public API of the code insrc/diffusers/pipelines.To better understand what exactly apipelineis, please see:GitHub - huggingface/diffusers
2022-09-23T07:48:32Z
Hello and thanks for building such an awesome and useful library! I have a question, in the example scripts you provide there is astrengthparameter given to the pipeline call function. What is its purpose and what does it do? What is the apparent effect of increasing or decreasing it?Specifically, in the official GitHub repo of the library (link) the lines:with autocast("cuda"):
    images = pipe(prompt=prompt, init_image=init_image, mask_image=mask_image, strength=0.75).imageshave thestrengthparameter. It would be best if you could provide the explanation in the docstring.
2022-09-23T12:19:15Z
Hi@ehalit! Thanks a lot for your nice comments and for your questionWe recently added docstrings for thestrengthparameterhere. Is there any other place where we may have missed them?
2022-09-23T12:46:22Z
Oh I see, I was looking at the text-to-image generation docstring, as I understand this parameter is not related to this task. Maybe an indicator in the text-to-image docs would be helpful…