"sgl-kernel/python/vscode:/vscode.git/clone" did not exist on "ee71ed8a412709416dd688992dd084b1c0640495"
Unverified Commit e748b3c6 authored by YiYi Xu's avatar YiYi Xu Committed by GitHub
Browse files

doc string example remove from_pt (#3083)

parent 46c52f9b
...@@ -83,7 +83,7 @@ EXAMPLE_DOC_STRING = """ ...@@ -83,7 +83,7 @@ EXAMPLE_DOC_STRING = """
... "lllyasviel/sd-controlnet-canny", from_pt=True, dtype=jnp.float32 ... "lllyasviel/sd-controlnet-canny", from_pt=True, dtype=jnp.float32
... ) ... )
>>> pipe, params = FlaxStableDiffusionControlNetPipeline.from_pretrained( >>> pipe, params = FlaxStableDiffusionControlNetPipeline.from_pretrained(
... "runwayml/stable-diffusion-v1-5", controlnet=controlnet, from_pt=True, dtype=jnp.float32 ... "runwayml/stable-diffusion-v1-5", controlnet=controlnet, revision="flax", dtype=jnp.float32
... ) ... )
>>> params["controlnet"] = controlnet_params >>> params["controlnet"] = controlnet_params
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment