Sourabh2's picture
Update README.md
a4e583e verified
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)