How to use PERFECTTAUNGOO/Pftuddp02 with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("CompVis/stable-diffusion-v1-4", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("PERFECTTAUNGOO/Pftuddp02") prompt = "cinematic photo 1girl,black hair,dragon,eastern dragon,chinese clothes,dress,flower,wide sleeves,long sleeves,hair bun,<lora:é¾èç¸ä¼ ï¼å½±æ¥¼ç¹å«çï¼éæ¶ä¸å¨ä¸è½½_V2.0:0.8>,absurdres,sunlight,(white long upper shan:1.3),masterpiece,best quality, . 35mm photograph, film, bokeh, professional, 4k, highly detailed" image = pipe(prompt).images[0]
The community tab is the place to discuss and collaborate with the HF community!