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