Weights for this model are available in Safetensors format.
Download them in the Files & versions tab.
1from diffusers import AutoPipelineForText2Image
2import torch
3
4device = "cuda" if torch.cuda.is_available() else "cpu"
5
6pipeline = AutoPipelineForText2Image.from_pretrained('runwayml/stable-diffusion-v1-5', torch_dtype=torch.float16).to(device)
7pipeline.load_lora_weights('Taka1265/victor-tsoy', weight_name='tsoy.ckpt')
8image = pipeline('`Victor Tsoy`').images[0]
For more details, including weighting, merging and fusing LoRAs, check the
documentation on loading LoRAs in diffusers