Views
No views yet
but the old gods are rising to trigger the image generation.1from diffusers import AutoPipelineForText2Image
2import torch
3
4device = "cuda" if torch.cuda.is_available() else "cpu"
5
6pipeline = AutoPipelineForText2Image.from_pretrained('black-forest-labs/FLUX.1-dev', torch_dtype=torch.bfloat16).to(device)
7pipeline.load_lora_weights('Norod78/but-the-old-gods-are-rising-flux', weight_name='But_the_old_gods_are_rising_FLUX-000004.safetensors')
8image = pipeline('A photo of a Death's-head hawkmoth but the old gods are rising').images[0]