Views
No views yet


guohua.ckpt in model files.1#!pip install diffusers transformers scipy torch
2from diffusers import StableDiffusionPipeline
3import torch
4
5model_id = "Langboat/Guohua-Diffusion"
6pipe = StableDiffusionPipeline.from_pretrained(model_id, torch_dtype=torch.float16)
7pipe = pipe.to("cuda")
8
9prompt = "The Godfather poster in guohua style"
10image = pipe(prompt).images[0]
11
12image.save("./the_god_father.png")