Views
No views yet
A woman Tasha Yar 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('Keltezaa/tasha-yar-flux-1-d', weight_name='t8sh8y8r.safetensors')
8image = pipeline(' A woman Tasha Yar, with a Tasha Yar pixie hair style, laying down asleep in her star trek logo patterned bed').images[0]