Views
No views yet
1from diffusers import AutoPipelineForText2Image
2import torch
3pipeline = AutoPipelineForText2Image.from_pretrained("black-forest-labs/FLUX.1-dev", torch_dtype=torch.bfloat16).to('cuda')
4pipeline.load_lora_weights('dataautogpt3/FLUX-AestheticAnime', weight_name='Flux_1_Dev_LoRA_AestheticAnime.safetensors')
5image = pipeline('anime girl').images[0]