How to use from the
Use from the
Diffusers library
pip install -U diffusers transformers accelerate
import torch
from diffusers import DiffusionPipeline

# switch to "mps" for apple devices
pipe = DiffusionPipeline.from_pretrained("ahmadmac/Images_Generation", dtype=torch.bfloat16, device_map="cuda")

prompt = "a photo of Ahmad, with a neatly trimmed beard and styled hair, wearing a dark green sweater and black jeans, sitting in a rustic café with a cup of tea and a notebook."
image = pipe(prompt).images[0]

Model trained by ahmadmac on the ahmadmac/human dataset.

This is a Stable Diffusion model fine-tuned on my own images. It can be used by modifying the instance_prompt: **a photo of Ahmad **

Description

This is a Stable Diffusion model fine-tuned on my own images.

Usage

from diffusers import StableDiffusionPipeline

pipeline = StableDiffusionPipeline.from_pretrained('ahmadmac/Images_Generation')
image = pipeline().images[0]
image
Downloads last month
3
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 1 Ask for provider support