Downloads · 30 days
2
5% of all-time downloads
Sourabh2/Human_Face_generator
Human_Face_generator is a text-to-image model from Sourabh2. Use it when you need an image from a text prompt. It is set up for diffusers.
Downloads · 30 days
2
5% of all-time downloads
All-time downloads
42
Public
Parameters
860M
12 GB on disk
Likes
4
Public
Click a slice to open those files.
.safetensors11.9 GB · 78%
From the Hugging Face model README
language: en
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")
