jtorregrosa/watercolour2k
Preview • Updated • 64
How to use jtorregrosa/watercolour-lora-flux 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("jtorregrosa/watercolour-lora-flux")
prompt = "W4T3RC0L0UR style, a shepherd leading a flock of sheep down a grassy hill at sunset, with an old stone farmhouse in the distance and soft, golden light spreading across the scene."
image = pipe(prompt).images[0]







These are jtorregrosa/watercolour-lora-flux DreamBooth LoRA weights for black-forest-labs/FLUX.1-dev.
The weights were trained using DreamBooth with the Flux diffusers trainer.
Was LoRA for the text encoder enabled? False.
You should use W4T3RC0L0UR style to trigger the image generation.
Download the *.safetensors LoRA in the Files & versions tab.
from diffusers import AutoPipelineForText2Image
import torch
pipeline = AutoPipelineForText2Image.from_pretrained("black-forest-labs/FLUX.1-dev", torch_dtype=torch.bfloat16).to('cuda')
pipeline.load_lora_weights('jtorregrosa/watercolour-lora-flux', weight_name='pytorch_lora_weights.safetensors')
image = pipeline('W4T3RC0L0UR style, a fisherman casting a line into a peaceful village lake surrounded by quaint cottages').images[0]
For more details, including weighting, merging and fusing LoRAs, check the documentation on loading LoRAs in diffusers
Please adhere to the licensing terms as described here.
# TODO: add an example code snippet for running this diffusion pipeline
[TODO: provide examples of latent issues and potential remediations]
[TODO: describe the data used to train the model]
Base model
black-forest-labs/FLUX.1-dev