Diffusers How to use thezet/lora with Diffusers:
pip install -U diffusers transformers accelerate
import torch
from diffusers import DiffusionPipeline
# switch to "mps" for apple devices
pipe = DiffusionPipeline.from_pretrained("black-forest-labs/FLUX.1-dev", dtype=torch.bfloat16, device_map="cuda")
pipe.load_lora_weights("thezet/lora")
prompt = "c0m1c style vintage comic cover of a psychic woman sitting at a covered red table, in a haunting manor scene, the illustration style is macabre, candles in the bacground over a mantle, the psychic is hovering her hands over a purple crystal ball. Title test reads \"Tales from the Flux\" in an eerie type face. In the lower corner show a price of 15 cents and the date SEP 2024"
image = pipe(prompt).images[0]