Ahmed Faiyaz
commited on
Commit
•
0b3569f
1
Parent(s):
63e99ed
Update README.md
Browse files
README.md
CHANGED
@@ -23,7 +23,7 @@ inference:
|
|
23 |
from diffusers import DiffusionPipeline
|
24 |
from transformers import AutoTokenizer,AutoModel
|
25 |
from diffusers.models import AutoencoderKL
|
26 |
-
|
27 |
vae = AutoencoderKL.from_pretrained("stabilityai/sd-vae-ft-ema")
|
28 |
|
29 |
pipeline = DiffusionPipeline.from_pretrained(
|
|
|
23 |
from diffusers import DiffusionPipeline
|
24 |
from transformers import AutoTokenizer,AutoModel
|
25 |
from diffusers.models import AutoencoderKL
|
26 |
+
device="cpu"
|
27 |
vae = AutoencoderKL.from_pretrained("stabilityai/sd-vae-ft-ema")
|
28 |
|
29 |
pipeline = DiffusionPipeline.from_pretrained(
|