Instructions to use dvyio/flux-lora-snl-portrait with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use dvyio/flux-lora-snl-portrait 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("dvyio/flux-lora-snl-portrait") prompt = "Barack Obama, isolated on solid background, photograph in the style of SNLPRTRT, large text that says \"BARACK\"" image = pipe(prompt).images[0] - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
File size: 133 Bytes
2851207 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:127751a21138adc9ea785f14f9e586d3381afa8b2fa7a20cb41a4a8a31084d18
size 89745224
|