Model Card for souljoy/sd-pokemon-model-lora-zh

Installation

pip install -U diffusers
pip install transformers

Usage

from diffusers import StableDiffusionPipeline
import torch

pipe = StableDiffusionPipeline.from_pretrained("IDEA-CCNL/Taiyi-Stable-Diffusion-1B-Anime-Chinese-v0.1", torch_dtype=torch.float16)
model_path = "souljoy/sd-pokemon-model-lora-zh"

pipe.unet.load_attn_procs(model_path)
pipe.to("cuda")

prompt = "粉色的蝴蝶"
image = pipe(prompt, num_inference_steps=50, guidance_scale=7.5).images[0]
image

prompt = "可爱的狗"
image = pipe(prompt, num_inference_steps=50, guidance_scale=7.5).images[0]
image

prompt = "漂亮的猫"
image = pipe(prompt, num_inference_steps=50, guidance_scale=7.5).images[0]
image

Downloads last month
12
Inference Providers NEW
This model is not currently available via any of the supported Inference Providers.
The model cannot be deployed to the HF Inference API: The model has no pipeline_tag.

Dataset used to train souljoy/sd-pokemon-model-lora-zh

Spaces using souljoy/sd-pokemon-model-lora-zh 2