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
OpenDAS
diffusers
Commits
e36a3678
Unverified
Commit
e36a3678
authored
Aug 16, 2022
by
apolinario
Committed by
GitHub
Aug 16, 2022
Browse files
Match params with official Stable Diffusion lib (#192)
https://github.com/CompVis/stable-diffusion
parent
4b02f53e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
README.md
README.md
+1
-1
No files found.
README.md
View file @
e36a3678
...
...
@@ -60,7 +60,7 @@ pipe = StableDiffusionPipeline.from_pretrained(
prompt
=
"a photo of an astronaut riding a horse on mars"
with
autocast
(
"cuda"
):
image
=
pipe
(
prompt
,
width
=
768
,
guidance_scale
=
7
)[
"sample"
][
0
]
image
=
pipe
(
prompt
,
width
=
512
,
guidance_scale
=
7
.5
)[
"sample"
][
0
]
image
.
save
(
"astronaut_rides_horse.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