How to use profpeng/cof with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("Wan-AI/Wan2.2-I2V-A14B", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("profpeng/cof") prompt = "f4c3cr34m, {the camera zooms in onto the woman's face when|a woman is looking at the viewer when} a man's hand holding penis slides in from the left side, the man is jerking off his penis causing ejaculating semen onto the woman's forehead, creating a white, dense stream that spreads across her face. The woman's eyes are closed, and her facial expression changes from neutral to a slight grimace as the semen hits her forehead. Her eyebrows are slightly furrowed, and her mouth is slightly open. The man's hand remains steady on the woman's head throughout the process. " image = pipe(prompt).images[0]
The community tab is the place to discuss and collaborate with the HF community!