Instructions to use CtrlAltArt/Flux_Behind_Obscure_Glass with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use CtrlAltArt/Flux_Behind_Obscure_Glass 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("CtrlAltArt/Flux_Behind_Obscure_Glass") prompt = "act1vate, behind_obscure_glass A warmly lit café with empty tables and a single flickering candle left burning. Outside, through the rain-splattered window, the shape of a person stands just out of focus, as though deciding whether to enter or simply fade away." image = pipe(prompt).images[0] - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps
- Draw Things
- DiffusionBee
Ctrl+K