Sourabh2's picture
Create README.md
5d21eca verified
|
raw
history blame
527 Bytes

language: en

Example Usage

from diffusers import StableDiffusionPipeline
import torch

model_path = "Sourabh2/Human_Face_generator"
pipe = StableDiffusionPipeline.from_pretrained(model_path, torch_dtype=torch.float16)
pipe.to("cuda")

prompt = ""

image = pipe(prompt=prompt).images[0]
image.save("generated_image.png")

Example Output

pareto pareto