Instructions to use je-suis-tm/sayama_ai_lora_flux_nf4 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use je-suis-tm/sayama_ai_lora_flux_nf4 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("je-suis-tm/sayama_ai_lora_flux_nf4") prompt = "Training With QLoRA: Sayama Ai smiles confidently for the camera in this outdoor portrait. Her striking red hair, long and wavy, complements a playful outfit: a white skirt and a pink and white striped top adorned with hearts. she radiates happiness. The blurred background hints at an urban location, possibly near a road. The photograph captures a moment of joy and self assuredness in a vibrant, natural setting." image = pipe(prompt).images[0] - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps
- Draw Things
- DiffusionBee
Ctrl+K