File size: 465 Bytes
5d21eca e68f852 5d21eca a4e583e 5d21eca e68f852 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 |
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
![pareto](https://huggingface.co/Sourabh2/Human_Face_generator/resolve/main/bread.png) |