Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenDAS
diffusers
Commits
39a3c77e
Unverified
Commit
39a3c77e
authored
Feb 21, 2023
by
Sayak Paul
Committed by
GitHub
Feb 21, 2023
Browse files
fix: code snippet of instruct pix2pix from the docs. (#2446)
parent
17ecf72d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
docs/source/en/api/pipelines/stable_diffusion/pix2pix.mdx
docs/source/en/api/pipelines/stable_diffusion/pix2pix.mdx
+1
-1
No files found.
docs/source/en/api/pipelines/stable_diffusion/pix2pix.mdx
View file @
39a3c77e
...
...
@@ -60,7 +60,7 @@ def download_image(url):
image = download_image(url)
prompt = "make the mountains snowy"
edit
= pipe(prompt, image=image, num_inference_steps=20, image_guidance_scale=1.5, guidance_scale=7).images
[0]
images
= pipe(prompt, image=image, num_inference_steps=20, image_guidance_scale=1.5, guidance_scale=7).images
images[0].save("snowy_mountains.png")
```
...
...
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