BoHu370/Land_grandfather
Viewer • Updated • 14 • 3
How to use BoHu370/lgd-old-man with Diffusers:
pip install -U diffusers transformers accelerate
import torch
from diffusers import DiffusionPipeline
# switch to "mps" for apple devices
pipe = DiffusionPipeline.from_pretrained("BoHu370/lgd-old-man", dtype=torch.bfloat16, device_map="cuda")
prompt = "a photo of lgd old man playing computer game"
image = pipe(prompt).images[0]This is a Stable Diffusion model fine-tuned on the Lang Grandfather(lgd) concept with DreamBooth. The dataset is from the game ** Black Myth WUKONG **.
It can be used by modifying the instance_prompt: a photo of lgd old man, the trigger word is lgd
from diffusers import StableDiffusionPipeline
pipe = StableDiffusionPipeline.from_pretrained('BoHu370/lgd-old-man').to('cuda')
name_of_your_concept = 'lgd'
type_of_thing = 'old man'
prompt = f"a photo of {name_of_your_concept} {type_of_thing} playing computer game"
guidance_scale = 5
image = pipe(prompt, guidance_scale=guidance_scale).images[0]
image
Base model
CompVis/stable-diffusion-v1-4