| language: en | |
| ## Example Usage | |
| ```python | |
| 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 = "a man with blonde hair and beard" | |
| image = pipe(prompt=prompt).images[0] | |
| image.save("face.png") | |
| ``` | |
| ## Example Output | |
|  |