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
- Xet hash:
- f588dec23a1c6608889a111f6dd5d4dba09d96f9d633e5e265eb50e88024cdc1
- Size of remote file:
- 89.7 MB
- SHA256:
- 127751a21138adc9ea785f14f9e586d3381afa8b2fa7a20cb41a4a8a31084d18
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.