1
0
mirror of https://github.com/huggingface/diffusers.git synced 2026-01-27 17:22:53 +03:00

Remove unnecessary kwargs in depth2img (#1648)

Since no deprecate() call was done, the typos were silently ignored.
This commit is contained in:
M-A
2022-12-11 11:00:50 -05:00
committed by GitHub
parent fc94c60c83
commit c3b2f97534

View File

@@ -421,7 +421,6 @@ class StableDiffusionDepth2ImgPipeline(DiffusionPipeline):
return_dict: bool = True,
callback: Optional[Callable[[int, int, torch.FloatTensor], None]] = None,
callback_steps: Optional[int] = 1,
**kwargs,
):
r"""
Function invoked when calling the pipeline for generation.