File size: 937 Bytes
48af6c0 1165f24 3e491a0 ea81aae 48af6c0 c08d504 f8b4358 e5739eb f8b4358 cde9607 e5739eb 9ded585 f8b4358 e5739eb f8b4358 e5739eb f8b4358 518a0f6 3e68bb7 d1bef8e b560229 1165f24 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 |
---
license: apache-2.0
tags:
- dreambooth-hackathon
- Text-to-image
- stable-diffusion
pipeline_tag: text-to-image
---
https://civitai.com/models/21642/fashion3d
import torch
from diffusers import StableDiffusionPipeline
pipe = StableDiffusionPipeline.from_pretrained("sd-dreambooth-library/fashion")
pipe = pipe.to("cuda")
prompt = "a photograph of an astronaut riding a horse"
image = pipe(prompt).images[0]
image.save(f"astronaut_rides_horse.png")



 |