Skip to content

Commit e748b3c

Browse files
authored
doc string example remove from_pt (#3083)
1 parent 46c52f9 commit e748b3c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/diffusers/pipelines/stable_diffusion/pipeline_flax_stable_diffusion_controlnet.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@
8383
... "lllyasviel/sd-controlnet-canny", from_pt=True, dtype=jnp.float32
8484
... )
8585
>>> pipe, params = FlaxStableDiffusionControlNetPipeline.from_pretrained(
86-
... "runwayml/stable-diffusion-v1-5", controlnet=controlnet, from_pt=True, dtype=jnp.float32
86+
... "runwayml/stable-diffusion-v1-5", controlnet=controlnet, revision="flax", dtype=jnp.float32
8787
... )
8888
>>> params["controlnet"] = controlnet_params
8989

0 commit comments

Comments
 (0)