How to use iSolver-AI/TraditionalChinesePainting with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("iSolver-AI/TraditionalChinesePainting", dtype=torch.bfloat16, device_map="cuda") prompt = "ChinesePainting,traditional chinese painting,traditional chinese ink painting, calligraphy on right, chinese characters, plain white background, bird perched, vibrant red flowers, bold brushstrokes, white background, calligraphy included" image = pipe(prompt).images[0]
The community tab is the place to discuss and collaborate with the HF community!