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
ded31742
Unverified
Commit
ded31742
authored
Mar 09, 2023
by
M. Tolga Cangöz
Committed by
GitHub
Mar 09, 2023
Browse files
Fix typos (#2608)
parent
ef504c78
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
README.md
README.md
+2
-2
No files found.
README.md
View file @
ded31742
...
@@ -235,7 +235,7 @@ images = pipeline(prompt_ids, params, prng_seed, num_inference_steps, jit=True).
...
@@ -235,7 +235,7 @@ images = pipeline(prompt_ids, params, prng_seed, num_inference_steps, jit=True).
images
=
pipeline
.
numpy_to_pil
(
np
.
asarray
(
images
.
reshape
((
num_samples
,)
+
images
.
shape
[
-
3
:])))
images
=
pipeline
.
numpy_to_pil
(
np
.
asarray
(
images
.
reshape
((
num_samples
,)
+
images
.
shape
[
-
3
:])))
```
```
Diffusers also has a Image-to-Image generation pipeline with Flax/Jax
Diffusers also has a Image-to-Image generation pipeline with Flax/Jax
:
```
python
```
python
import
jax
import
jax
import
numpy
as
np
import
numpy
as
np
...
@@ -284,7 +284,7 @@ output = pipeline(
...
@@ -284,7 +284,7 @@ output = pipeline(
output_images
=
pipeline
.
numpy_to_pil
(
np
.
asarray
(
output
.
reshape
((
num_samples
,)
+
output
.
shape
[
-
3
:])))
output_images
=
pipeline
.
numpy_to_pil
(
np
.
asarray
(
output
.
reshape
((
num_samples
,)
+
output
.
shape
[
-
3
:])))
```
```
Diffusers also has a Text-guided inpainting pipeline with Flax/Jax
Diffusers also has a Text-guided inpainting pipeline with Flax/Jax
:
```
python
```
python
import
jax
import
jax
...
...
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