Views
No views yet
wongkarwai_LoRa.safetensors here 💾.
models/Lora folder.<lora:wongkarwai_LoRa:1> to your prompt. On ComfyUI just load it as a regular LoRA.1from diffusers import AutoPipelineForText2Image
2import torch
3
4pipeline = AutoPipelineForText2Image.from_pretrained('runwayml/stable-diffusion-v1-5', torch_dtype=torch.float16).to('cuda')
5pipeline.load_lora_weights('rayaanoidpr/wongkarwai_LoRa', weight_name='pytorch_lora_weights.safetensors')
6
7image = pipeline('in the style of TOK').images[0]