fashion / README.md
sunhaha123's picture
Update README.md
3e68bb7
|
raw
history blame
407 Bytes
metadata
license: apache-2.0

import torch

from diffusers import StableDiffusionPipeline

pipe = StableDiffusionPipeline.from_pretrained("sd-dreambooth-library/fashsion")

prompt = "a photograph of an astronaut riding a horse"

image = pipe(prompt).images[0]

image.save(f"astronaut_rides_horse.png")

image