Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
renzhc
diffusers_dcu
Commits
e748b3c6
"sgl-kernel/python/vscode:/vscode.git/clone" did not exist on "ee71ed8a412709416dd688992dd084b1c0640495"
Unverified
Commit
e748b3c6
authored
Apr 12, 2023
by
YiYi Xu
Committed by
GitHub
Apr 13, 2023
Browse files
doc string example remove from_pt (#3083)
parent
46c52f9b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/diffusers/pipelines/stable_diffusion/pipeline_flax_stable_diffusion_controlnet.py
...le_diffusion/pipeline_flax_stable_diffusion_controlnet.py
+1
-1
No files found.
src/diffusers/pipelines/stable_diffusion/pipeline_flax_stable_diffusion_controlnet.py
View file @
e748b3c6
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment