Views
No views yet
1from diffusers import AutoPipelineForText2Image
2import torch
3
4pipeline = AutoPipelineForText2Image.from_pretrained('bghira/terminus-xl-velocity-v2', torch_dtype=torch.float16).to('cuda')
5pipeline.load_lora_weights('dada22231/4166f6af-6f9b-4824-9917-dbcbb44830ca', weight_name='god_4ecd3098-008a-4f72-8c1d-149597e6ab0d_sdxl_2h.safetensors')
6image = pipeline('None').images[0]
7image.save("my_image.png")