Update README.md
Browse files
README.md
CHANGED
@@ -27,11 +27,12 @@ from diffusers.utils.torch_utils import randn_tensor
|
|
27 |
import sys, os
|
28 |
sys.path.append('/path/diffusers/examples/community')
|
29 |
from pipeline_stable_diffusion_3_controlnet import StableDiffusion3CommonPipeline
|
|
|
30 |
# load pipeline
|
31 |
base_model = 'stabilityai/stable-diffusion-3-medium-diffusers'
|
32 |
pipe = StableDiffusion3CommonPipeline.from_pretrained(
|
33 |
base_model,
|
34 |
-
controlnet_list=['InstantX/SD3-Controlnet-
|
35 |
)
|
36 |
pipe.to('cuda:0', torch.float16)
|
37 |
prompt = 'Anime style illustration of a girl wearing a suit. A moon in sky. In the background we see a big rain approaching. text "InstantX" on image'
|
|
|
27 |
import sys, os
|
28 |
sys.path.append('/path/diffusers/examples/community')
|
29 |
from pipeline_stable_diffusion_3_controlnet import StableDiffusion3CommonPipeline
|
30 |
+
|
31 |
# load pipeline
|
32 |
base_model = 'stabilityai/stable-diffusion-3-medium-diffusers'
|
33 |
pipe = StableDiffusion3CommonPipeline.from_pretrained(
|
34 |
base_model,
|
35 |
+
controlnet_list=['InstantX/SD3-Controlnet-Canny']
|
36 |
)
|
37 |
pipe.to('cuda:0', torch.float16)
|
38 |
prompt = 'Anime style illustration of a girl wearing a suit. A moon in sky. In the background we see a big rain approaching. text "InstantX" on image'
|