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
chenpangpang
diffusers
Commits
df4ad6f4
Unverified
Commit
df4ad6f4
authored
Jun 24, 2024
by
Steven Liu
Committed by
GitHub
Jun 24, 2024
Browse files
[docs] Fix Pillow import (#8684)
fix import error
parent
bc90c28b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
src/diffusers/pipelines/controlnet/pipeline_controlnet_inpaint_sd_xl.py
...pipelines/controlnet/pipeline_controlnet_inpaint_sd_xl.py
+1
-0
No files found.
src/diffusers/pipelines/controlnet/pipeline_controlnet_inpaint_sd_xl.py
View file @
df4ad6f4
...
@@ -84,6 +84,7 @@ EXAMPLE_DOC_STRING = """
...
@@ -84,6 +84,7 @@ EXAMPLE_DOC_STRING = """
>>> # !pip install transformers accelerate
>>> # !pip install transformers accelerate
>>> from diffusers import StableDiffusionXLControlNetInpaintPipeline, ControlNetModel, DDIMScheduler
>>> from diffusers import StableDiffusionXLControlNetInpaintPipeline, ControlNetModel, DDIMScheduler
>>> from diffusers.utils import load_image
>>> from diffusers.utils import load_image
>>> from PIL import Image
>>> import numpy as np
>>> import numpy as np
>>> import torch
>>> import torch
...
...
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