Instructions to use prithivMLmods/Flux-Lego-Ref-LoRA with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use prithivMLmods/Flux-Lego-Ref-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("prithivMLmods/Flux-Lego-Ref-LoRA") prompt = "lego --fref --89890, a Lego Star Wars figure stands in a pile of snow. The figure is adorned with a white snow-covered hat, a white coat, and a black and white striped jacket. The face of the figure is yellow, and the eyes are blue. The background is a grayish-gray color, and there are small white dots dotting the top of the image." image = pipe(prompt).images[0] - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
Commit History
-
Update README.md
Verified signaturec64ab7e -
Update README.md
Verified signature51c0404 -
Delete images/e6cf0bdb013f62b731e598e930d50fd2.jpg
Verified signaturef958c0c -
Upload 4 files
Verified signatured46edd1 -
Update README.md
Verified signature38fe696 -
Add 2 files
Verified signature37c6ab6 -
initial commit
Verified signature55e7fc5