Upload pchan-concept-qwen-image_000001500.safetensors with huggingface_hub 9624d3b verified
Choquin commited on
How to use furaidosu/pchan-concept-qwen-image-lora with Diffusers:
pip install -U diffusers transformers accelerate
import torch
from diffusers import DiffusionPipeline
# switch to "mps" for apple devices
pipe = DiffusionPipeline.from_pretrained("Qwen/Qwen-Image", dtype=torch.bfloat16, device_map="cuda")
pipe.load_lora_weights("furaidosu/pchan-concept-qwen-image-lora")
prompt = "monsters gathering in a lively campus square, banners and balloons decorating the scene, some riding bikes, others chatting or playing"
image = pipe(prompt).images[0]