Instructions to use gitgato/flux-mab-dev with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use gitgato/flux-mab-dev 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("gitgato/flux-mab-dev") prompt = "woman posing in a room with a window and a door in the background. She is wearing a black latex corset and thigh-high stockings. The corset is strapless and has a sweetheart neckline. The woman is also wearing black gloves and a necklace. She has long dark hair styled in loose waves and is looking directly at the camera with a seductive expression. The lighting is soft and natural, highlighting the woman's curves." image = pipe(prompt).images[0] - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps
- Draw Things
- DiffusionBee
Ctrl+K