patrickvonplaten
commited on
Commit
•
01c572e
1
Parent(s):
a8ebe06
Update README.md
Browse files
README.md
CHANGED
@@ -23,7 +23,7 @@ import torch
|
|
23 |
from diffusers import StableDiffusionInstructPix2PixPipeline, EulerAncestralDiscreteScheduler
|
24 |
|
25 |
model_id = "timbrooks/instruct-pix2pix"
|
26 |
-
pipe = StableDiffusionInstructPix2PixPipeline.from_pretrained(model_id, torch_dtype=torch.float16
|
27 |
pipe.to("cuda")
|
28 |
pipe.scheduler = EulerAncestralDiscreteScheduler.from_config(pipe.scheduler.config)
|
29 |
|
|
|
23 |
from diffusers import StableDiffusionInstructPix2PixPipeline, EulerAncestralDiscreteScheduler
|
24 |
|
25 |
model_id = "timbrooks/instruct-pix2pix"
|
26 |
+
pipe = StableDiffusionInstructPix2PixPipeline.from_pretrained(model_id, torch_dtype=torch.float16)
|
27 |
pipe.to("cuda")
|
28 |
pipe.scheduler = EulerAncestralDiscreteScheduler.from_config(pipe.scheduler.config)
|
29 |
|