We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 191670e commit 6cf1a09Copy full SHA for 6cf1a09
1 file changed
src/diffusers/pipelines/flux/pipeline_flux_kontext.py
@@ -60,9 +60,7 @@
60
>>> from diffusers import FluxKontextPipeline
61
>>> from diffusers.utils import load_image
62
63
- >>> pipe = FluxKontextPipeline.from_pretrained(
64
- ... "black-forest-labs/FLUX.1-kontext", torch_dtype=torch.bfloat16
65
- ... )
+ >>> pipe = FluxKontextPipeline.from_pretrained("black-forest-labs/FLUX.1-kontext", torch_dtype=torch.bfloat16)
66
>>> pipe.to("cuda")
67
68
>>> image = load_image("inputs/yarn-art-pikachu.png").convert("RGB")
0 commit comments