Instructions to use superstunyo/dakota_johnson_lora_flux with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use superstunyo/dakota_johnson_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("superstunyo/dakota_johnson_lora_flux") prompt = "Training With LoRA: The image features Dakota Johnson posing in front of a dark gray backdrop prominently displaying the BAFTA logo. Dakota Johnson, likely attending a BAFTA-related event such as an awards ceremony or premiere, is looking directly at the camera. She is styled in a white blazer and a black hat, with long brown hair completing her look. The photograph aims to document her presence at this prestigious British Academy of Film and Television Arts occasion." image = pipe(prompt).images[0] - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
Welcome to the community
The community tab is the place to discuss and collaborate with the HF community!