|
--- |
|
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") |
|
|
|
 |
|
 |
|
 |
|
 |